llc.h 749 B

1234567891011121314151617181920212223
  1. /*
  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. */
  13. #ifndef __LINUX_LLC_H
  14. #define __LINUX_LLC_H
  15. #include <uapi/linux/llc.h>
  16. #define LLC_SAP_DYN_START 0xC0
  17. #define LLC_SAP_DYN_STOP 0xDE
  18. #define LLC_SAP_DYN_TRIES 4
  19. #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0]))
  20. #endif /* __LINUX_LLC_H */