Fields

_get_mode_data: *const fn (*const ManagedNetworkProtocol, ?*ManagedNetworkConfigData, ?*SimpleNetworkMode) callconv(cc) Status,
_configure: *const fn (*const ManagedNetworkProtocol, ?*const ManagedNetworkConfigData) callconv(cc) Status,
_mcast_ip_to_mac: *const fn (*const ManagedNetworkProtocol, bool, *const anyopaque, *MacAddress) callconv(cc) Status,
_groups: *const fn (*const ManagedNetworkProtocol, bool, ?*const MacAddress) callconv(cc) Status,
_transmit: *const fn (*const ManagedNetworkProtocol, *const ManagedNetworkCompletionToken) callconv(cc) Status,
_receive: *const fn (*const ManagedNetworkProtocol, *const ManagedNetworkCompletionToken) callconv(cc) Status,
_cancel: *const fn (*const ManagedNetworkProtocol, ?*const ManagedNetworkCompletionToken) callconv(cc) Status,
_poll: *const fn (*const ManagedNetworkProtocol) callconv(cc) Status,

Functions

fn cancel(self: *const ManagedNetworkProtocol, token: ?*const ManagedNetworkCompletionToken) Status

Aborts an asynchronous transmit or receive request.

fn configure(self: *const ManagedNetworkProtocol, mnp_config_data: ?*const ManagedNetworkConfigData) Status

Sets or clears the operational parameters for the MNP child driver.

fn getModeData(self: *const ManagedNetworkProtocol, mnp_config_data: ?*ManagedNetworkConfigData, snp_mode_data: ?*SimpleNetworkMode) Status

Returns the operational parameters for the current MNP child driver. May also s…

Returns the operational parameters for the current MNP child driver. May also support returning the underlying SNP driver mode data.

fn groups(self: *const ManagedNetworkProtocol, join_flag: bool, mac_address: ?*const MacAddress) Status

Enables and disables receive filters for multicast address. This function may b…

Enables and disables receive filters for multicast address. This function may be unsupported in some MNP implementations.

fn mcastIpToMac(self: *const ManagedNetworkProtocol, ipv6flag: bool, ipaddress: *const anyopaque, mac_address: *MacAddress) Status

Translates an IP multicast address to a hardware (MAC) multicast address. This …

Translates an IP multicast address to a hardware (MAC) multicast address. This function may be unsupported in some MNP implementations.

fn poll(self: *const ManagedNetworkProtocol) Status

Polls for incoming data packets and processes outgoing data packets.

fn receive(self: *const ManagedNetworkProtocol, token: *const ManagedNetworkCompletionToken) Status

Places an asynchronous receiving request into the receiving queue.

fn transmit(self: *const ManagedNetworkProtocol, token: *const ManagedNetworkCompletionToken) Status

Places asynchronous outgoing data packets into the transmit queue.

Values