xref: /OK3568_Linux_fs/kernel/include/net/llc_sap.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun #ifndef LLC_SAP_H
2*4882a593Smuzhiyun #define LLC_SAP_H
3*4882a593Smuzhiyun 
4*4882a593Smuzhiyun #include <asm/types.h>
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun /*
7*4882a593Smuzhiyun  * Copyright (c) 1997 by Procom Technology,Inc.
8*4882a593Smuzhiyun  * 		 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  * This program can be redistributed or modified under the terms of the
11*4882a593Smuzhiyun  * GNU General Public License as published by the Free Software Foundation.
12*4882a593Smuzhiyun  * This program is distributed without any warranty or implied warranty
13*4882a593Smuzhiyun  * of merchantability or fitness for a particular purpose.
14*4882a593Smuzhiyun  *
15*4882a593Smuzhiyun  * See the GNU General Public License for more details.
16*4882a593Smuzhiyun  */
17*4882a593Smuzhiyun struct llc_sap;
18*4882a593Smuzhiyun struct net_device;
19*4882a593Smuzhiyun struct sk_buff;
20*4882a593Smuzhiyun struct sock;
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
23*4882a593Smuzhiyun void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
24*4882a593Smuzhiyun 			unsigned char prim);
25*4882a593Smuzhiyun struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
26*4882a593Smuzhiyun 				u8 type, u32 data_size);
27*4882a593Smuzhiyun 
28*4882a593Smuzhiyun void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
29*4882a593Smuzhiyun 				 unsigned char *dmac, unsigned char dsap);
30*4882a593Smuzhiyun void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
31*4882a593Smuzhiyun 				unsigned char *dmac, unsigned char dsap);
32*4882a593Smuzhiyun #endif /* LLC_SAP_H */
33