Referencia de la Estructura sniff_ethernet

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. Más...

`#include <ethernet_hdr.h>`

## Atributos públicos

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

## Descripción detallada

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.

## Documentación de los datos miembro

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

La documentación para esta estructura fue generada a partir del siguiente fichero:

- ethernet_hdr.h