::ethernet::arp::

Struct ArpPacket

pub struct ArpPacket {
hardware_type: uint<16>,
protocol_type: uint<16>,
hardware_length: uint<8>,
protocol_length: uint<8>,
operation: uint<16>,
sender_hardware_address: MacAddr,
sender_protocol_address: IpAddr,
target_hardware_address: MacAddr,
target_protocol_address: IpAddr,
}

Trait Implementations

impl Serialize<[uint<8>; 28]> for ArpPacket
fn serialize(self) -> [uint<8>; 28]
impl Header for ArpPacket
fn total_length(self) -> uint<16>
fn payload_length(self) -> uint<16>