blob: b965314d017f546d09a5064fdf313b9893b52327 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.
3 *
4 * Copyright (c) 2001 by Jay Schulist <jschlst@samba.org>
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 */
David Howells607ca462012-10-13 10:46:48 +010013#ifndef __LINUX_LLC_H
14#define __LINUX_LLC_H
Ben Hutchingsbcb949b2011-08-24 18:43:55 +000015
David Howells607ca462012-10-13 10:46:48 +010016#include <uapi/linux/llc.h>
Ben Hutchingsbcb949b2011-08-24 18:43:55 +000017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#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]))
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif /* __LINUX_LLC_H */