• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _LINUX_IF_FC_H
7 #define _LINUX_IF_FC_H
8 #include <linux/types.h>
9 #define FC_ALEN	6
10 #define FC_HLEN   (sizeof(struct fch_hdr)+sizeof(struct fcllc))
11 #define FC_ID_LEN 3
12 #define EXTENDED_SAP 0xAA
13 #define UI_CMD       0x03
14 struct fch_hdr {
15 	__u8  daddr[FC_ALEN];
16 	__u8  saddr[FC_ALEN];
17 };
18 struct fcllc {
19 	__u8  dsap;
20 	__u8  ssap;
21 	__u8  llc;
22 	__u8  protid[3];
23 	__be16 ethertype;
24 };
25 #endif
26