1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_IF_FDDI_H
13 #define _LINUX_IF_FDDI_H
16 #define FDDI_K_8022_HLEN 16
17 #define FDDI_K_SNAP_HLEN 21
18 #define FDDI_K_8022_ZLEN 16
19 #define FDDI_K_SNAP_ZLEN 21
20 #define FDDI_K_8022_DLEN 4475
21 #define FDDI_K_SNAP_DLEN 4470
22 #define FDDI_K_LLC_ZLEN 13
23 #define FDDI_K_LLC_LEN 4491
25 #define FDDI_FC_K_VOID 0x00
26 #define FDDI_FC_K_NON_RESTRICTED_TOKEN 0x80
27 #define FDDI_FC_K_RESTRICTED_TOKEN 0xC0
28 #define FDDI_FC_K_SMT_MIN 0x41
29 #define FDDI_FC_K_SMT_MAX 0x4F
30 #define FDDI_FC_K_MAC_MIN 0xC1
31 #define FDDI_FC_K_MAC_MAX 0xCF
32 #define FDDI_FC_K_ASYNC_LLC_MIN 0x50
33 #define FDDI_FC_K_ASYNC_LLC_DEF 0x54
34 #define FDDI_FC_K_ASYNC_LLC_MAX 0x5F
35 #define FDDI_FC_K_SYNC_LLC_MIN 0xD0
36 #define FDDI_FC_K_SYNC_LLC_MAX 0xD7
37 #define FDDI_FC_K_IMPLEMENTOR_MIN 0x60
38 #define FDDI_FC_K_IMPLEMENTOR_MAX 0x6F
39 #define FDDI_FC_K_RESERVED_MIN 0x70
40 #define FDDI_FC_K_RESERVED_MAX 0x7F
42 #define FDDI_EXTENDED_SAP 0xAA
43 #define FDDI_UI_CMD 0x03
45 struct fddi_8022_1_hdr
50 } __attribute__ ((packed));
52 struct fddi_8022_2_hdr
58 } __attribute__ ((packed));
60 #define FDDI_K_OUI_LEN 3
66 __u8 oui[FDDI_K_OUI_LEN];
68 } __attribute__ ((packed));
73 __u8 daddr[FDDI_K_ALEN];
74 __u8 saddr[FDDI_K_ALEN];
77 struct fddi_8022_1_hdr llc_8022_1;
78 struct fddi_8022_2_hdr llc_8022_2;
79 struct fddi_snap_hdr llc_snap;
81 } __attribute__ ((packed));