Searched defs:EtherType (Results 1 – 15 of 15) sorted by relevance
31 pub struct EtherType(pub u16); struct33 impl EtherType { impl43 impl From<u16> for EtherType { implementation57 impl core::fmt::Debug for EtherType { implementation
31 EtherType(EtherType), enumerator
78 pub fn ether_type(&self) -> EtherType { in ether_type()
34 pub fn next_header(&self) -> EtherType { in next_header()
92 pub fn ether_type(&self) -> EtherType { in ether_type()
77 pub fn ether_type(&self) -> EtherType { in ether_type()
80 pub fn ether_type(&self) -> EtherType { in ether_type()
192 ether_type: EtherType, in from_ether_type()258 pub fn payload_ether_type(&self) -> Option<EtherType> { in payload_ether_type()
48 pub fn set_ether_type(&mut self, ether_type: EtherType) { in set_ether_type()
48 pub fn parse_from_ether_type(ether_type: EtherType, slice: &'a [u8]) -> LaxSlicedPacket<'a> { in parse_from_ether_type()
142 mut ether_type: EtherType, in from_ether_type()
146 pub fn from_ether_type(ether_type: EtherType, slice: &'a [u8]) -> LaxSlicedPacket<'a> { in from_ether_type()
235 pub fn from_ether_type(mut ether_type: EtherType, slice: &'a [u8]) -> LaxPacketHeaders<'a> { in from_ether_type()
288 fn get_ethertype(&self) -> anyhow::Result<EtherType> { in get_ethertype()
683 WORD EtherType; member695 WORD EtherType; member715 WORD EtherType; member