netadapter.h header

This header is used by netvista. For more information, see:

Functions

Title Description
NET_ADAPTER_DATAPATH_CALLBACKS_INIT The NET_ADAPTER_DATAPATH_CALLBACKS_INIT method initializes a NET_ADAPTER_DATAPATH_CALLBACKS structure.
NET_ADAPTER_DMA_CAPABILITIES_INIT The NET_ADAPTER_DMA_CAPABILITIES_INIT method initializes a NET_ADAPTER_DMA_CAPABILITIES structure.
NET_ADAPTER_LINK_LAYER_ADDRESS_INIT The NET_ADAPTER_LINK_LAYER_ADDRESS_INIT method initializes a link layer address.
NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT Initializes the NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.
NET_ADAPTER_LINK_STATE_INIT Initializes a NET_ADAPTER_LINK_STATE structure.
NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED Initializes a NET_ADAPTER_LINK_STATE structure for an adapter that is disconnected from the network.
NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT The NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES_INIT method initializes a NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure.
NET_ADAPTER_POWER_CAPABILITIES_INIT Initializes a NET_ADAPTER_POWER_CAPABILITIES structure.
NET_ADAPTER_RX_CAPABILITIES_INIT_DRIVER_MANAGED The NET_ADAPTER_RX_CAPABILITIES_INIT_DRIVER_MANAGED method initializes a NET_ADAPTER_RX_CAPABILITIES structure for a net adapter that would like to specify driver-managed receive buffer allocation and attachment.
NET_ADAPTER_RX_CAPABILITIES_INIT_SYSTEM_MANAGED The NET_ADAPTER_RX_CAPABILITIES_INIT_SYSTEM_MANAGED method initializes a NET_ADAPTER_RX_CAPABILITIES structure for a net adapter that would like to specify operating system-managed receive buffer allocation and attachment, but not the use of DMA memory mapping.
NET_ADAPTER_RX_CAPABILITIES_INIT_SYSTEM_MANAGED_DMA The NET_ADAPTER_RX_CAPABILITIES_INIT_SYSTEM_MANAGED_DMA method initializes a NET_ADAPTER_RX_CAPABILITIES structure for a net adapter that would like to specify operating system-managed receive buffer allocation and attachment, as well as DMA for memory mapping.
NET_ADAPTER_TX_CAPABILITIES_INIT The NET_ADAPTER_TX_CAPABILITIES_INIT method initializes a NET_ADAPTER_TX_CAPABILITIES structure for a net adapter that has not specified the use of DMA in its transmit data path.
NET_ADAPTER_TX_CAPABILITIES_INIT_FOR_DMA The NET_ADAPTER_TX_CAPABILITIES_INIT_FOR_DMA method initializes a NET_ADAPTER_TX_CAPABILITIES structure for a net adapter that has specified the use of DMA in its transmit data path.
NetAdapterCreate Creates a NETADAPTER object.
NetAdapterDeviceInitConfig Initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
NetAdapterGetNetLuid Retrieves the NET_LUID that is assigned to a network adapter.
NetAdapterGetPowerSettings Retrieves the NETPOWERSETTINGS object that is associated with a net adapter.
NetAdapterInitAllocate The NetAdapterInitAllocate method allocates a NETADAPTER_INIT structure that a client driver uses when creating a new NETADAPTER object.
NetAdapterInitFree The NetAdapterInitFree method deallocates a NETADAPTER_INIT structure.
NetAdapterInitSetDatapathCallbacks The NetAdapterInitSetDatapathCallbacks method registers a NETADAPTER's callback functions for creating datapath packet queues.
NetAdapterInitSetNetPowerSettingsAttributes The NetAdapterInitSetNetPowerSettingsAttributes method sets the attributes of a net adapter's NETPOWERSETTINGS object that is created by NetAdapterCx.
NetAdapterInitSetNetRequestAttributes The NetAdapterInitSetNetRequestAttributes method sets the attributes of NETREQUEST objects created by NetAdapterCx for a net adapter.
NetAdapterOffloadSetChecksumCapabilities The NetAdapterOffloadSetChecksumCapabilities method sets the hardware checksum offload capabilities of a network adapter.
NetAdapterOpenConfiguration Opens the adapter’s configuration database.
NetAdapterSetCurrentLinkLayerAddress The NetAdapterSetCurrentLinkLayerAddress method sets the current link layer address for the network adapter.
NetAdapterSetDataPathCapabilities Sets the data path capabilities of the network adapter.
NetAdapterSetLinkLayerCapabilities Sets the link layer capabilities of the network adapter.
NetAdapterSetLinkLayerMtuSize Sets the link layer maximum transfer unit size of the adapter.
NetAdapterSetLinkState Sets the current link state of the of the network adapter.
NetAdapterSetPermanentLinkLayerAddress The NetAdapterSetPermanentLinkLayerAddress method sets the permanent link layer address for the network adapter.
NetAdapterSetPowerCapabilities Sets the power capabilities of the network adapter.
NetAdapterStart The NetAdapterStart method starts a NETADAPTER object.
NetAdapterStop The NetAdapterStop method stops a NETADAPTER object.

Callback functions

Title Description
EVT_NET_ADAPTER_CREATE_RXQUEUE The client driver's implementation of the EvtNetAdapterCreateRxQueue event callback function that sets up a receive (Rx) queue.
EVT_NET_ADAPTER_CREATE_TXQUEUE The client driver's implementation of the EvtNetAdapterCreateTxQueue event callback function that sets up a transmit (Tx) queue.
EVT_NET_ADAPTER_OFFLOAD_SET_CHECKSUM The EvtNetAdapterOffloadSetChecksum callback function is implemented by the client driver to set changes in checksum offload capabilities.
EVT_NET_ADAPTER_PREVIEW_PROTOCOL_OFFLOAD Implement this optional callback to reject protocol offloads that are not compatible with your hardware.
EVT_NET_ADAPTER_PREVIEW_WAKE_PATTERN Implement this optional callback to reject wake patterns that are not compatible with your hardware.
EVT_NET_ADAPTER_RETURN_RX_BUFFER Implement this optional callback function to perform cleanup on a receive buffer for which you previously specified manual fragment allocation and attachment.

Structures

Title Description
NET_ADAPTER_DATAPATH_CALLBACKS The NET_ADAPTER_DATAPATH_CALLBACKS structure describes a net adapter's callback functions for creating its datapath queues.
NET_ADAPTER_DMA_CAPABILITIES The NET_ADAPTER_DMA_CAPABILITIES structure describes the DMA capabilities of an adapter.
NET_ADAPTER_LINK_LAYER_CAPABILITIES Describes the link layer capabilities of the adapter.
NET_ADAPTER_LINK_STATE Describes the link state of the adapter.
NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES The NET_ADAPTER_OFFLOAD_CHECKSUM_CAPABILITIES structure describes a network interface card (NIC)'s capabilities for offloading checksum calculation and validation.
NET_ADAPTER_POWER_CAPABILITIES Describes the power capabilities of the adapter.
NET_ADAPTER_RX_CAPABILITIES The NET_ADAPTER_RX_CAPABILITIES structure describes the receive capabilities of a net adapter.
NET_ADAPTER_TX_CAPABILITIES The NET_ADAPTER_TX_CAPABILITIES structure describes the transmit capabilities of a net adapter.

Enumerations

Title Description
NET_ADAPTER_AUTO_NEGOTIATION_FLAGS Specifies the auto-negotiation settings for the NIC driver.
NET_ADAPTER_MEDIA_SPECIFIC_WAKEUP_EVENTS_FLAGS Specifies the media-specific wake-up events that a network adapter supports.
NET_ADAPTER_PAUSE_FUNCTIONS Specifies a client driver's support for the IEEE 802.3 pause frames.
NET_ADAPTER_POWER_FLAGS Specifies a client driver's power capabilities.
NET_ADAPTER_PROTOCOL_OFFLOADS_FLAGS Specifies the low power protocol offload capabilities of a network adapter.
NET_ADAPTER_STATISTICS_FLAGS Specifies statistics that an adapter supports.
NET_ADAPTER_WAKE_PATTERN_FLAGS Specifies wake patterns that an adapter supports.
NET_ADAPTER_WAKEUP_EVENTS_FLAGS Specifies the media-independent wake-up events that a network adapter supports.
NET_MEMORY_MAPPING_REQUIREMENT The NET_MEMORY_MAPPING_REQUIREMENT enumeration identifies the memory mapping requirement that a net adapter can specify for its receive and transmit buffers.
NET_PACKET_FILTER_TYPES_FLAGS Specifies packet filters that control the types of packets the NIC completes on its receive path.
NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE The NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE enumeration identifies how the operating system should allocate NET_PACKET_FRAGMENT receive buffers for a net adapter client driver's receive queues.
NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE The NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE enumeration identifies how the operating system should pre-attach NET_PACKET_FRAGMENT buffers to NET_PACKETs for a net adapter client driver's receive queues.