Struct kernel::network::ipv4::IPv4Header [] [src]

pub struct IPv4Header {
    pub ver_hlen: u8,
    pub services: u8,
    pub len: n16,
    pub id: n16,
    pub flags_fragment: n16,
    pub ttl: u8,
    pub proto: u8,
    pub checksum: Checksum,
    pub src: IPv4Addr,
    pub dst: IPv4Addr,
}

Fields

ver_hlen
services
len
id
flags_fragment
ttl
proto
checksum
src
dst

Trait Implementations

Derived Implementations

impl Clone for IPv4Header

fn clone(&self) -> IPv4Header

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

impl Copy for IPv4Header