My Project
Public Attributes | List of all members
sniff_ethernet Struct Reference

The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet. More...

#include <ethernet_hdr.h>

Public Attributes

u_char ether_dhost [ETHER_ADDR_LEN]
 
u_char ether_shost [ETHER_ADDR_LEN]
 
u_short ether_type
 

Detailed Description

The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet.

Member Data Documentation

u_char sniff_ethernet::ether_dhost[ETHER_ADDR_LEN]

destination host address / direccion destino

u_char sniff_ethernet::ether_shost[ETHER_ADDR_LEN]

source host address / direccion fuente

u_short sniff_ethernet::ether_type

IP? ARP? RARP? etc


The documentation for this struct was generated from the following file: