Struct kernel::network::arp::ARPHeader [] [src]

pub struct ARPHeader {
    pub htype: n16,
    pub ptype: n16,
    pub hlen: u8,
    pub plen: u8,
    pub oper: n16,
    pub src_mac: MACAddr,
    pub src_ip: IPv4Addr,
    pub dst_mac: MACAddr,
    pub dst_ip: IPv4Addr,
}

Fields

htype
ptype
hlen
plen
oper
src_mac
src_ip
dst_mac
dst_ip

Trait Implementations

Derived Implementations

impl Clone for ARPHeader

fn clone(&self) -> ARPHeader

fn clone_from(&mut self, source: &Self)

impl Copy for ARPHeader