1
2
3
4
5
6
7
8
9
10
11#ifndef _FDDI_
12#define _FDDI_
13
14struct fddi_addr {
15 u_char a[6] ;
16} ;
17
18#define GROUP_ADDR 0x80
19
20struct fddi_mac {
21 struct fddi_addr mac_dest ;
22 struct fddi_addr mac_source ;
23 u_char mac_info[4478] ;
24} ;
25
26#define FDDI_MAC_SIZE (12)
27#define FDDI_RAW_MTU (4500-5)
28#define FDDI_RAW (4500)
29
30
31
32
33#define FC_VOID 0x40
34#define FC_TOKEN 0x80
35#define FC_RES_TOKEN 0xc0
36#define FC_SMT_INFO 0x41
37
38
39
40#define FC_SMT_LAN_LOC 0x42
41#define FC_SMT_LOC 0x43
42#define FC_SMT_NSA 0x4f
43#define FC_MAC 0xc0
44#define FC_BEACON 0xc2
45#define FC_CLAIM 0xc3
46#define FC_SYNC_LLC 0xd0
47#define FC_ASYNC_LLC 0x50
48#define FC_SYNC_BIT 0x80
49
50#define FC_LLC_PRIOR 0x07
51
52#define BEACON_INFO 0
53#define DBEACON_INFO 1
54
55
56
57
58
59#define C_INDICATOR (1<<0)
60#define A_INDICATOR (1<<1)
61#define E_INDICATOR (1<<2)
62#define I_INDICATOR (1<<6)
63#define L_INDICATOR (1<<7)
64
65#endif
66