Azinix

Pkt_EthernetHdr_t Struct Reference

Ethernet Packet Header. More...

#include <pkt.h>


Data Fields

u_int8_t dhost [6]
u_int8_t shost [6]
u_int16_t type


Detailed Description

Ethernet Packet Header.

From Spurgeon page 24, and /usr/include/net/ethernet.h sizeof( Pkt_EthernetHdr_t ) report 20 bytes.

Definition at line 59 of file pkt.h.


Field Documentation

u_int8_t Pkt_EthernetHdr_t::dhost[6]

Definition at line 62 of file pkt.h.

u_int8_t Pkt_EthernetHdr_t::shost[6]

Definition at line 63 of file pkt.h.

u_int16_t Pkt_EthernetHdr_t::type

Definition at line 73 of file pkt.h.