Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

Ipv4DevicePath

Public Struct
std.os.uefi.device_path.DevicePath.Messaging.Ipv4DevicePath
pub const Ipv4DevicePath = extern struct

Fields

type: DevicePath.Type
subtype: Subtype
length: u16
local_ip_address: uefi.Ipv4Address
remote_ip_address: uefi.Ipv4Address
local_port: u16
remote_port: u16
network_protocol: u16
static_ip_address: IpType
gateway_ip_address: u32
subnet_mask: u32

Types

File

os/uefi/device_path.zig:529
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
        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),
        }