Struct pktparse::arp::ArpPacket [−][src]
pub struct ArpPacket { pub hw_addr_type: HardwareAddressType, pub proto_addr_type: ProtocolAddressType, pub hw_addr_size: u8, pub proto_addr_size: u8, pub operation: Operation, pub src_mac: MacAddress, pub src_addr: Ipv4Addr, pub dest_mac: MacAddress, pub dest_addr: Ipv4Addr, }
Fields
hw_addr_type: HardwareAddressType
proto_addr_type: ProtocolAddressType
hw_addr_size: u8
proto_addr_size: u8
operation: Operation
src_mac: MacAddress
src_addr: Ipv4Addr
dest_mac: MacAddress
dest_addr: Ipv4Addr
Trait Implementations
impl Debug for ArpPacket
[src]
impl Debug for ArpPacket
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ArpPacket
[src]
impl PartialEq for ArpPacket
fn eq(&self, other: &ArpPacket) -> bool
[src]
fn eq(&self, other: &ArpPacket) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ArpPacket) -> bool
[src]
fn ne(&self, other: &ArpPacket) -> bool
This method tests for !=
.
impl Eq for ArpPacket
[src]
impl Eq for ArpPacket