std.os.uefi.protocol.SimpleNetwork
The entries of std.os.uefi.protocol.SimpleNetwork in the Zig reference. This page has 35 cards.
pub fn getStatus(self: *SimpleNetwork, interrupt_status: ?*InterruptStatus, recycled_tx_buf: ?*?[*]u8) GetStatusError!void
Reads the current interrupt status and recycled transmit buffer status from a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn initialize(self: *SimpleNetwork, extra_rx_buffer_size: usize, extra_tx_buffer_size: usize) InitializeError!void
Resets a network adapter and allocates the transmit and receive buffers required by the network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- struct
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn mcastIpToMac(self: *SimpleNetwork, ipv6: bool, ip: *const anyopaque) McastIpToMacError!MacAddress
Converts a multicast IP address to a multicast HW MAC address.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- struct
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn nvData(self: *SimpleNetwork, read_write: NvDataOperation, offset: usize, buffer: []u8) NvDataError!void
Performs read and write operations on the NVRAM device attached to a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- enum
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- struct
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn receive(self: *SimpleNetwork, buffer: []u8) ReceiveError!Packet
Receives a packet from a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- struct
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn receiveFilters(self: *SimpleNetwork, enable: ReceiveFilter, disable: ReceiveFilter, reset_mcast_filter: bool, mcast_filter: ?[]const MacAddress) ReceiveFiltersError!void
Manages the multicast receive filters of a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn reset(self: *SimpleNetwork, extended_verification: bool) ResetError!void
Resets a network adapter and reinitializes it with the parameters that were provided in the previous call to initialize().
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn resetStatistics(self: *SimpleNetwork) StatisticsError!void
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn shutdown(self: *SimpleNetwork) ShutdownError!void
Resets a network adapter and leaves it in a state that is safe for another driver to initialize.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn start(self: *SimpleNetwork) StartError!void
Changes the state of a network interface from "stopped" to "started".
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- enum
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn stationAddress(self: *SimpleNetwork, reset_flag: bool, new: ?*const MacAddress) StationAddressError!void
Modifies or resets the current station address, if supported.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- struct
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn statistics(self: *SimpleNetwork, reset_flag: bool) StatisticsError!Statistics
Resets or collects the statistics on a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn stop(self: *SimpleNetwork) StopError!void
Changes the state of a network interface from "started" to "stopped".
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork
pub fn transmit(self: *SimpleNetwork, header_size: usize, buffer: []const u8, src_addr: ?*const MacAddress, dest_addr: ?*const MacAddress, protocol: ?*const u16) TransmitError!void
Places a packet in the transmit queue of a network interface.
- Kind
- function
- Module
std.os.uefi.protocol.SimpleNetwork
- Kind
- type
- Module
std.os.uefi.protocol.SimpleNetwork