8 #define ETHER_ADDR_LEN 6
24 #endif // ETHERNET_HDR_H
u_short ether_type
Definition: ethernet_hdr.h:20
The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet re...
Definition: ethernet_hdr.h:17
u_char ether_dhost[ETHER_ADDR_LEN]
Definition: ethernet_hdr.h:18
u_char ether_shost[ETHER_ADDR_LEN]
Definition: ethernet_hdr.h:19