From e041ff3b2af7a41f7b8d94cedd7b92e28e3689e2 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 16 Sep 2003 09:29:07 -0300 Subject: 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. --- include/net/llc_conn.h | 3 --- include/net/llc_sap.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include/net') 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, -- cgit v1.2.3