Struct kernel::network::ipv4::IPv4
[−]
[src]
pub struct IPv4 { pub header: IPv4Header, pub options: Vec<u8>, pub data: Vec<u8>, }
Fields
header | |
options | |
data |
pub struct IPv4 { pub header: IPv4Header, pub options: Vec<u8>, pub data: Vec<u8>, }
header | |
options | |
data |
impl FromBytes for IPv4
fn from_bytes(bytes: Vec<u8>) -> Option<Self>
impl ToBytes for IPv4