| .. | .. |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Global definitions for the ANSI FDDI interface. |
|---|
| 8 | 8 | * |
|---|
| 9 | | - * Version: @(#)if_fddi.h 1.0.2 Sep 29 2004 |
|---|
| 9 | + * Version: @(#)if_fddi.h 1.0.3 Oct 6 2018 |
|---|
| 10 | 10 | * |
|---|
| 11 | | - * Author: Lawrence V. Stefani, <stefani@lkg.dec.com> |
|---|
| 11 | + * Author: Lawrence V. Stefani, <stefani@yahoo.com> |
|---|
| 12 | + * Maintainer: Maciej W. Rozycki, <macro@linux-mips.org> |
|---|
| 12 | 13 | * |
|---|
| 13 | 14 | * if_fddi.h is based on previous if_ether.h and if_tr.h work by |
|---|
| 14 | 15 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
|---|
| .. | .. |
|---|
| 45 | 46 | #define FDDI_K_OUI_LEN 3 /* Octets in OUI in 802.2 SNAP |
|---|
| 46 | 47 | header */ |
|---|
| 47 | 48 | |
|---|
| 48 | | -/* Define FDDI Frame Control (FC) Byte values */ |
|---|
| 49 | +/* Define FDDI Frame Control (FC) Byte masks */ |
|---|
| 50 | +#define FDDI_FC_K_CLASS_MASK 0x80 /* class bit */ |
|---|
| 51 | +#define FDDI_FC_K_CLASS_SYNC 0x80 |
|---|
| 52 | +#define FDDI_FC_K_CLASS_ASYNC 0x00 |
|---|
| 53 | +#define FDDI_FC_K_ALEN_MASK 0x40 /* address length bit */ |
|---|
| 54 | +#define FDDI_FC_K_ALEN_48 0x40 |
|---|
| 55 | +#define FDDI_FC_K_ALEN_16 0x00 |
|---|
| 56 | +#define FDDI_FC_K_FORMAT_MASK 0x30 /* format bits */ |
|---|
| 57 | +#define FDDI_FC_K_FORMAT_FUTURE 0x30 |
|---|
| 58 | +#define FDDI_FC_K_FORMAT_IMPLEMENTOR 0x20 |
|---|
| 59 | +#define FDDI_FC_K_FORMAT_LLC 0x10 |
|---|
| 60 | +#define FDDI_FC_K_FORMAT_MANAGEMENT 0x00 |
|---|
| 61 | +#define FDDI_FC_K_CONTROL_MASK 0x0f /* control bits */ |
|---|
| 62 | + |
|---|
| 63 | +/* Define FDDI Frame Control (FC) Byte specific values */ |
|---|
| 49 | 64 | #define FDDI_FC_K_VOID 0x00 |
|---|
| 50 | 65 | #define FDDI_FC_K_NON_RESTRICTED_TOKEN 0x80 |
|---|
| 51 | 66 | #define FDDI_FC_K_RESTRICTED_TOKEN 0xC0 |
|---|