extern struct Ipv4DevicePath [src]
Fields
type: DevicePath.Type
subtype: Subtype
length: u16 align(1)
local_ip_address: uefi.Ipv4Address align(1)
remote_ip_address: uefi.Ipv4Address align(1)
local_port: u16 align(1)
remote_port: u16 align(1)
network_protocol: u16 align(1)
static_ip_address: IpType
gateway_ip_address: u32 align(1)
subnet_mask: u32 align(1)
 Members
- IpType (enum)
Source
 pub const Ipv4DevicePath = extern struct {
    pub const IpType = enum(u8) {
        dhcp = 0,
        static = 1,
    };
    type: DevicePath.Type,
    subtype: Subtype,
    length: u16 align(1),
    local_ip_address: uefi.Ipv4Address align(1),
    remote_ip_address: uefi.Ipv4Address align(1),
    local_port: u16 align(1),
    remote_port: u16 align(1),
    network_protocol: u16 align(1),
    static_ip_address: IpType,
    gateway_ip_address: u32 align(1),
    subnet_mask: u32 align(1),
}