[−][src]Function pcap_parser::data::get_packetdata_ethernet
pub fn get_packetdata_ethernet<'a>(
i: &'a [u8],
caplen: usize
) -> Option<PacketData<'a>>
Get packet data for LINKTYPE_ETHERNET (1)
IEEE 802.3 Ethernet (10Mb, 100Mb, 1000Mb, and up); the 10MB in the DLT_ name is historical.