Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ArpHeader |
struct | TransportHeaderT |
struct | _S_ETHCS_PKT_INFO |
struct | _ETH_CS_802_Q_FRAME |
struct | _ETH_CS_802_LLC_FRAME |
struct | _ETH_CS_802_LLC_SNAP_FRAME |
struct | _ETH_CS_ETH2_FRAME |
struct | _TCP_HEADER |
Macros | |
#define | IPV4 4 |
#define | IPV6 6 |
#define | ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800) |
#define | ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd) |
#define | ETHERNET_FRAMETYPE_802QVLAN ntohs(0x8100) |
#define | IP6_HEADER_LEN 40 |
#define | IP_VERSION(byte) (((byte&0xF0)>>4)) |
#define | MAC_ADDRESS_SIZE 6 |
#define | ETH_AND_IP_HEADER_LEN 14 + 20 |
#define | L4_SRC_PORT_LEN 2 |
#define | L4_DEST_PORT_LEN 2 |
#define | CTRL_PKT_LEN 8 + ETH_AND_IP_HEADER_LEN |
#define | ETH_ARP_FRAME 0x806 |
#define | ETH_IPV4_FRAME 0x800 |
#define | ETH_IPV6_FRAME 0x86DD |
#define | UDP 0x11 |
#define | TCP 0x06 |
#define | ARP_OP_REQUEST 0x01 |
#define | ARP_OP_REPLY 0x02 |
#define | ARP_PKT_SIZE 60 |
#define | TCP_HEADER_LEN sizeof(TCP_HEADER) |
#define | TCP_ACK 0x10 |
#define | GET_TCP_HEADER_LEN(byte) ((byte&0xF0)>>4) |
Typedefs | |
typedef struct TransportHeaderT | xporthdr |
typedef enum _E_NWPKT_IPFRAME_TYPE | E_NWPKT_IPFRAME_TYPE |
typedef enum _E_NWPKT_ETHFRAME_TYPE | E_NWPKT_ETHFRAME_TYPE |
typedef struct _S_ETHCS_PKT_INFO | S_ETHCS_PKT_INFO |
typedef struct _S_ETHCS_PKT_INFO * | PS_ETHCS_PKT_INFO |
typedef enum _E_SERVICEFLOW_CS_SPEC_ | E_SERVICEFLOW_CS_SPEC |
typedef struct _TCP_HEADER | TCP_HEADER |
typedef struct _TCP_HEADER * | PTCP_HEADER |
Functions | |
struct TransportHeaderT | __attribute__ ((packed)) |
Variables | |
union { | |
struct udphdr uhdr | |
struct tcphdr thdr | |
}; | |
struct bcm_eth_header | EThHdr |
USHORT | UserPriority |
USHORT | CFI |
USHORT | VLANID |
USHORT | EthType |
unsigned char | DSAP |
unsigned char | SSAP |
unsigned char | Control |
unsigned char | OUI [3] |
unsigned short | usEtherType |
#define ARP_OP_REPLY 0x02 |
Definition at line 130 of file Protocol.h.
#define ARP_OP_REQUEST 0x01 |
Definition at line 129 of file Protocol.h.
#define ARP_PKT_SIZE 60 |
Definition at line 131 of file Protocol.h.
#define CTRL_PKT_LEN 8 + ETH_AND_IP_HEADER_LEN |
Definition at line 121 of file Protocol.h.
#define ETH_AND_IP_HEADER_LEN 14 + 20 |
Definition at line 115 of file Protocol.h.
#define ETH_ARP_FRAME 0x806 |
Definition at line 123 of file Protocol.h.
#define ETH_IPV4_FRAME 0x800 |
Definition at line 124 of file Protocol.h.
#define ETH_IPV6_FRAME 0x86DD |
Definition at line 125 of file Protocol.h.
#define ETHERNET_FRAMETYPE_802QVLAN ntohs(0x8100) |
Definition at line 90 of file Protocol.h.
#define ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800) |
Definition at line 88 of file Protocol.h.
#define ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd) |
Definition at line 89 of file Protocol.h.
Definition at line 148 of file Protocol.h.
#define IP6_HEADER_LEN 40 |
Definition at line 108 of file Protocol.h.
Definition at line 110 of file Protocol.h.
#define IPV4 4 |
Definition at line 8 of file Protocol.h.
#define IPV6 6 |
Definition at line 9 of file Protocol.h.
#define L4_DEST_PORT_LEN 2 |
Definition at line 117 of file Protocol.h.
#define L4_SRC_PORT_LEN 2 |
Definition at line 116 of file Protocol.h.
#define MAC_ADDRESS_SIZE 6 |
Definition at line 114 of file Protocol.h.
#define TCP 0x06 |
Definition at line 127 of file Protocol.h.
#define TCP_ACK 0x10 |
Definition at line 147 of file Protocol.h.
#define TCP_HEADER_LEN sizeof(TCP_HEADER) |
Definition at line 146 of file Protocol.h.
#define UDP 0x11 |
Definition at line 126 of file Protocol.h.
typedef enum _E_NWPKT_ETHFRAME_TYPE E_NWPKT_ETHFRAME_TYPE |
typedef enum _E_NWPKT_IPFRAME_TYPE E_NWPKT_IPFRAME_TYPE |
typedef enum _E_SERVICEFLOW_CS_SPEC_ E_SERVICEFLOW_CS_SPEC |
typedef struct _S_ETHCS_PKT_INFO* PS_ETHCS_PKT_INFO |
typedef struct _TCP_HEADER* PTCP_HEADER |
typedef struct _S_ETHCS_PKT_INFO S_ETHCS_PKT_INFO |
typedef struct _TCP_HEADER TCP_HEADER |
typedef struct TransportHeaderT xporthdr |
Definition at line 29 of file Protocol.h.
eEthUnsupportedFrame | |
eEth802LLCFrame | |
eEth802LLCSNAPFrame | |
eEth802QVLANFrame | |
eEthOtherFrame |
Definition at line 39 of file Protocol.h.
Definition at line 32 of file Protocol.h.
Definition at line 93 of file Protocol.h.
|
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.
union { ... } |
USHORT CFI |
Definition at line 66 of file Protocol.h.
unsigned char Control |
Definition at line 75 of file Protocol.h.
unsigned char DSAP |
Definition at line 73 of file Protocol.h.
struct bcm_eth_header EThHdr |
Definition at line 64 of file Protocol.h.
USHORT EthType |
Definition at line 68 of file Protocol.h.
unsigned char OUI[3] |
Definition at line 86 of file Protocol.h.
unsigned char SSAP |
Definition at line 74 of file Protocol.h.
Definition at line 32 of file Protocol.h.
Definition at line 31 of file Protocol.h.
USHORT UserPriority |
Definition at line 65 of file Protocol.h.
unsigned short usEtherType |
Definition at line 87 of file Protocol.h.
USHORT VLANID |
Definition at line 67 of file Protocol.h.