#[repr(C, packed(1))]pub struct Ipv4 {
pub header: DevicePathProtocol,
pub local_ip_address: [u8; 4],
pub remote_ip_address: [u8; 4],
pub local_port: u16,
pub remote_port: u16,
pub protocol: u16,
pub ip_address_origin: Ipv4AddressOrigin,
pub gateway_ip_address: [u8; 4],
pub subnet_mask: [u8; 4],
}
Fields§
§header: DevicePathProtocol
§local_ip_address: [u8; 4]
§remote_ip_address: [u8; 4]
§local_port: u16
§remote_port: u16
§protocol: u16
§ip_address_origin: Ipv4AddressOrigin
§gateway_ip_address: [u8; 4]
§subnet_mask: [u8; 4]
Auto Trait Implementations§
impl Freeze for Ipv4
impl RefUnwindSafe for Ipv4
impl Send for Ipv4
impl Sync for Ipv4
impl Unpin for Ipv4
impl UnwindSafe for Ipv4
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more