xref: /linux/include/net/llc_sap.h (revision 45079e00133ee78fd216ccc4285534044ea69173)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LLC_SAP_H
3 #define LLC_SAP_H
4 
5 #include <asm/types.h>
6 
7 /*
8  * Copyright (c) 1997 by Procom Technology,Inc.
9  * 		 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
10  */
11 struct llc_sap;
12 struct net_device;
13 struct sk_buff;
14 struct sock;
15 
16 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
17 void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
18 			unsigned char prim);
19 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
20 				u8 type, u32 data_size);
21 
22 void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
23 				 unsigned char *dmac, unsigned char dsap);
24 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
25 				unsigned char *dmac, unsigned char dsap);
26 #endif /* LLC_SAP_H */
27