DoxigAlpha

SimpleNetwork

Fields of this type

Fields

#
revision:u64
_start:*const fn (*SimpleNetwork) callconv(cc) Status
_stop:*const fn (*SimpleNetwork) callconv(cc) Status
_initialize:*const fn (*SimpleNetwork, usize, usize) callconv(cc) Status
_reset:*const fn (*SimpleNetwork, bool) callconv(cc) Status
_shutdown:*const fn (*SimpleNetwork) callconv(cc) Status
_receive_filters:*const fn (*SimpleNetwork, ReceiveFilter, ReceiveFilter, bool, usize, ?[*]const MacAddress) callconv(cc) Status
_station_address:*const fn (*SimpleNetwork, bool, ?*const MacAddress) callconv(cc) Status
_statistics:*const fn (*const SimpleNetwork, bool, ?*usize, ?*Statistics) callconv(cc) Status
_mcast_ip_to_mac:*const fn (*SimpleNetwork, bool, *const anyopaque, *MacAddress) callconv(cc) Status
_nvdata:*const fn (*SimpleNetwork, bool, usize, usize, [*]u8) callconv(cc) Status
_get_status:*const fn (*SimpleNetwork, ?*InterruptStatus, ?*?[*]u8) callconv(cc) Status
_transmit:*const fn (*SimpleNetwork, usize, usize, [*]const u8, ?*const MacAddress, ?*const MacAddress, ?*const u16) callconv(cc) Status
_receive:*const fn (*SimpleNetwork, ?*usize, *usize, [*]u8, ?*MacAddress, ?*MacAddress, ?*u16) callconv(cc) Status
mode:*Mode

Type definitions in this namespace

Types

#

Changes the state of a network interface from "stopped" to "started".

Functions

#
start
Changes the state of a network interface from "stopped" to "started".
stop
Changes the state of a network interface from "started" to "stopped".
initialize
Resets a network adapter and allocates the transmit and receive buffers required by the network interface.
reset
Resets a network adapter and reinitializes it with the parameters that were provided in the previous call to initialize().
shutdown
Resets a network adapter and leaves it in a state that is safe for another driver to initialize.
receiveFilters
Manages the multicast receive filters of a network interface.
stationAddress
Modifies or resets the current station address, if supported.
statistics
Resets or collects the statistics on a network interface.
mcastIpToMac
Converts a multicast IP address to a multicast HW MAC address.
nvData
Performs read and write operations on the NVRAM device attached to a network interface.
getStatus
Reads the current interrupt status and recycled transmit buffer status from a network interface.
transmit
Places a packet in the transmit queue of a network interface.
receive
Receives a packet from a network interface.

Error sets in this namespace

Error Sets

#

= Guid{ .time_low = 0xa19832b9, .time_mid = 0xac25, .time_high_and_version = 0x11d3, .clock_seq_high_and_reserved = 0x9a, .clock_seq_low = 0x2d, .node = [_]u8{ 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d }, }

Values

#
guid
= Guid{ .time_low = 0xa19832b9, .time_mid = 0xac25, .time_high_and_version = 0x11d3, .clock_seq_high_and_reserved = 0x9a, .clock_seq_low = 0x2d, .node = [_]u8{ 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d }, }