xref: /OK3568_Linux_fs/kernel/include/linux/llc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Copyright (c) 2001 by Jay Schulist <jschlst@samba.org>
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * This program can be redistributed or modified under the terms of the
7*4882a593Smuzhiyun  * GNU General Public License as published by the Free Software Foundation.
8*4882a593Smuzhiyun  * This program is distributed without any warranty or implied warranty
9*4882a593Smuzhiyun  * of merchantability or fitness for a particular purpose.
10*4882a593Smuzhiyun  *
11*4882a593Smuzhiyun  * See the GNU General Public License for more details.
12*4882a593Smuzhiyun  */
13*4882a593Smuzhiyun #ifndef __LINUX_LLC_H
14*4882a593Smuzhiyun #define __LINUX_LLC_H
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #include <uapi/linux/llc.h>
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #define LLC_SAP_DYN_START	0xC0
19*4882a593Smuzhiyun #define LLC_SAP_DYN_STOP	0xDE
20*4882a593Smuzhiyun #define LLC_SAP_DYN_TRIES	4
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0]))
23*4882a593Smuzhiyun #endif /* __LINUX_LLC_H */
24