Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
if_fddi.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  fddi_8022_1_hdr
 
struct  fddi_8022_2_hdr
 
struct  fddi_snap_hdr
 
struct  fddihdr
 

Macros

#define FDDI_K_ALEN   6 /* Octets in one FDDI address */
 
#define FDDI_K_8022_HLEN   16 /* Total octets in 802.2 header */
 
#define FDDI_K_SNAP_HLEN   21 /* Total octets in 802.2 SNAP header */
 
#define FDDI_K_8022_ZLEN   16 /* Min octets in 802.2 frame sans FCS */
 
#define FDDI_K_SNAP_ZLEN   21 /* Min octets in 802.2 SNAP frame sans FCS */
 
#define FDDI_K_8022_DLEN   4475 /* Max octets in 802.2 payload */
 
#define FDDI_K_SNAP_DLEN   4470 /* Max octets in 802.2 SNAP payload */
 
#define FDDI_K_LLC_ZLEN   13 /* Min octets in LLC frame sans FCS */
 
#define FDDI_K_LLC_LEN   4491 /* Max octets in LLC frame sans FCS */
 
#define FDDI_FC_K_VOID   0x00
 
#define FDDI_FC_K_NON_RESTRICTED_TOKEN   0x80
 
#define FDDI_FC_K_RESTRICTED_TOKEN   0xC0
 
#define FDDI_FC_K_SMT_MIN   0x41
 
#define FDDI_FC_K_SMT_MAX   0x4F
 
#define FDDI_FC_K_MAC_MIN   0xC1
 
#define FDDI_FC_K_MAC_MAX   0xCF
 
#define FDDI_FC_K_ASYNC_LLC_MIN   0x50
 
#define FDDI_FC_K_ASYNC_LLC_DEF   0x54
 
#define FDDI_FC_K_ASYNC_LLC_MAX   0x5F
 
#define FDDI_FC_K_SYNC_LLC_MIN   0xD0
 
#define FDDI_FC_K_SYNC_LLC_MAX   0xD7
 
#define FDDI_FC_K_IMPLEMENTOR_MIN   0x60
 
#define FDDI_FC_K_IMPLEMENTOR_MAX   0x6F
 
#define FDDI_FC_K_RESERVED_MIN   0x70
 
#define FDDI_FC_K_RESERVED_MAX   0x7F
 
#define FDDI_EXTENDED_SAP   0xAA
 
#define FDDI_UI_CMD   0x03
 
#define FDDI_K_OUI_LEN   3
 

Functions

struct fddi_8022_1_hdr __attribute__ ((packed))
 

Variables

__u8 dsap
 
__u8 ssap
 
__u8 ctrl
 
__u8 ctrl_1
 
__u8 ctrl_2
 
__u8 oui [FDDI_K_OUI_LEN]
 
__be16 ethertype
 
__u8 fc
 
__u8 daddr [FDDI_K_ALEN]
 
__u8 saddr [FDDI_K_ALEN]
 
union {
   struct fddi_8022_1_hdr   llc_8022_1
 
   struct fddi_8022_2_hdr   llc_8022_2
 
   struct fddi_snap_hdr   llc_snap
 
hdr
 

Macro Definition Documentation

#define FDDI_EXTENDED_SAP   0xAA

Definition at line 62 of file if_fddi.h.

#define FDDI_FC_K_ASYNC_LLC_DEF   0x54

Definition at line 52 of file if_fddi.h.

#define FDDI_FC_K_ASYNC_LLC_MAX   0x5F

Definition at line 53 of file if_fddi.h.

#define FDDI_FC_K_ASYNC_LLC_MIN   0x50

Definition at line 51 of file if_fddi.h.

#define FDDI_FC_K_IMPLEMENTOR_MAX   0x6F

Definition at line 57 of file if_fddi.h.

#define FDDI_FC_K_IMPLEMENTOR_MIN   0x60

Definition at line 56 of file if_fddi.h.

#define FDDI_FC_K_MAC_MAX   0xCF

Definition at line 50 of file if_fddi.h.

#define FDDI_FC_K_MAC_MIN   0xC1

Definition at line 49 of file if_fddi.h.

#define FDDI_FC_K_NON_RESTRICTED_TOKEN   0x80

Definition at line 45 of file if_fddi.h.

#define FDDI_FC_K_RESERVED_MAX   0x7F

Definition at line 59 of file if_fddi.h.

#define FDDI_FC_K_RESERVED_MIN   0x70

Definition at line 58 of file if_fddi.h.

#define FDDI_FC_K_RESTRICTED_TOKEN   0xC0

Definition at line 46 of file if_fddi.h.

#define FDDI_FC_K_SMT_MAX   0x4F

Definition at line 48 of file if_fddi.h.

#define FDDI_FC_K_SMT_MIN   0x41

Definition at line 47 of file if_fddi.h.

#define FDDI_FC_K_SYNC_LLC_MAX   0xD7

Definition at line 55 of file if_fddi.h.

#define FDDI_FC_K_SYNC_LLC_MIN   0xD0

Definition at line 54 of file if_fddi.h.

#define FDDI_FC_K_VOID   0x00

Definition at line 44 of file if_fddi.h.

#define FDDI_K_8022_DLEN   4475 /* Max octets in 802.2 payload */

Definition at line 38 of file if_fddi.h.

#define FDDI_K_8022_HLEN   16 /* Total octets in 802.2 header */

Definition at line 34 of file if_fddi.h.

#define FDDI_K_8022_ZLEN   16 /* Min octets in 802.2 frame sans FCS */

Definition at line 36 of file if_fddi.h.

#define FDDI_K_ALEN   6 /* Octets in one FDDI address */

Definition at line 33 of file if_fddi.h.

#define FDDI_K_LLC_LEN   4491 /* Max octets in LLC frame sans FCS */

Definition at line 41 of file if_fddi.h.

#define FDDI_K_LLC_ZLEN   13 /* Min octets in LLC frame sans FCS */

Definition at line 40 of file if_fddi.h.

#define FDDI_K_OUI_LEN   3

Definition at line 81 of file if_fddi.h.

#define FDDI_K_SNAP_DLEN   4470 /* Max octets in 802.2 SNAP payload */

Definition at line 39 of file if_fddi.h.

#define FDDI_K_SNAP_HLEN   21 /* Total octets in 802.2 SNAP header */

Definition at line 35 of file if_fddi.h.

#define FDDI_K_SNAP_ZLEN   21 /* Min octets in 802.2 SNAP frame sans FCS */

Definition at line 37 of file if_fddi.h.

#define FDDI_UI_CMD   0x03

Definition at line 63 of file if_fddi.h.

Function Documentation

struct fddi_8022_1_hdr __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 73 of file if_fddi.h.

__u8 ctrl_1

Definition at line 81 of file if_fddi.h.

__u8 ctrl_2

Definition at line 82 of file if_fddi.h.

__u8 daddr[FDDI_K_ALEN]

Definition at line 103 of file if_fddi.h.

__u8 dsap

Definition at line 71 of file if_fddi.h.

__be16 ethertype

Definition at line 93 of file if_fddi.h.

__u8 fc

Definition at line 102 of file if_fddi.h.

union { ... } hdr

Definition at line 35 of file hvsi.h.

struct fddi_8022_1_hdr llc_8022_1

Definition at line 107 of file if_fddi.h.

struct fddi_8022_2_hdr llc_8022_2

Definition at line 108 of file if_fddi.h.

Definition at line 109 of file if_fddi.h.

Definition at line 92 of file if_fddi.h.

__u8 saddr[FDDI_K_ALEN]

Definition at line 104 of file if_fddi.h.

__u8 ssap

Definition at line 72 of file if_fddi.h.