Struct kernel::network::ethernet::EthernetII [] [src]

pub struct EthernetII {
    pub header: EthernetIIHeader,
    pub data: Vec<u8>,
}

Fields

header
data

Trait Implementations

impl FromBytes for EthernetII

fn from_bytes(bytes: Vec<u8>) -> Option<Self>

impl ToBytes for EthernetII

fn to_bytes(&self) -> Vec<u8>