summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-09-16 09:29:07 -0300
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-09-16 09:29:07 -0300
commite041ff3b2af7a41f7b8d94cedd7b92e28e3689e2 (patch)
tree610538e65b30c3f3d91dffe9fcef7cd0f6cc62d6 /include/net
parente891de491cc34bca471cb5b1d477300cd422abb2 (diff)
o LLC: move llc_lookup_dgram to llc_sap
Also move llc_save_primitive to llc_sap, almost untangling the LLC2 stack from the core.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/llc_conn.h3
-rw-r--r--include/net/llc_sap.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/net/llc_conn.h b/include/net/llc_conn.h
index b10900c62fa1..4d1e5db3de3c 100644
--- a/include/net/llc_conn.h
+++ b/include/net/llc_conn.h
@@ -100,9 +100,6 @@ extern struct sock *llc_lookup_established(struct llc_sap *sap,
struct llc_addr *laddr);
extern struct sock *llc_lookup_listener(struct llc_sap *sap,
struct llc_addr *laddr);
-extern struct sock *llc_lookup_dgram(struct llc_sap *sap,
- struct llc_addr *laddr);
-extern void llc_save_primitive(struct sk_buff* skb, u8 prim);
extern u8 llc_data_accept_state(u8 state);
extern void llc_build_offset_table(void);
extern int llc_release_sockets(struct llc_sap *sap);
diff --git a/include/net/llc_sap.h b/include/net/llc_sap.h
index 2fffd961897e..fab5e668fb5b 100644
--- a/include/net/llc_sap.h
+++ b/include/net/llc_sap.h
@@ -44,6 +44,8 @@ extern void llc_sap_assign_sock(struct llc_sap *sap, struct sock *sk);
extern void llc_sap_unassign_sock(struct llc_sap *sap, struct sock *sk);
extern void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb);
extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
+extern void llc_save_primitive(struct sk_buff* skb, u8 prim);
+
extern struct llc_sap *llc_sap_open(u8 lsap,
int (*rcv)(struct sk_buff *skb,
struct net_device *dev,