Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
llc.h
Go to the documentation of this file.
1 /*
2  * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.
3  *
4  * Copyright (c) 2001 by Jay Schulist <[email protected]>
5  *
6  * This program can be redistributed or modified under the terms of the
7  * GNU General Public License as published by the Free Software Foundation.
8  * This program is distributed without any warranty or implied warranty
9  * of merchantability or fitness for a particular purpose.
10  *
11  * See the GNU General Public License for more details.
12  */
13 #ifndef __LINUX_LLC_H
14 #define __LINUX_LLC_H
15 
16 #include <uapi/linux/llc.h>
17 
18 #define LLC_SAP_DYN_START 0xC0
19 #define LLC_SAP_DYN_STOP 0xDE
20 #define LLC_SAP_DYN_TRIES 4
21 
22 #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0]))
23 #endif /* __LINUX_LLC_H */