Bewerken

Delen via


netdevice.h header

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

netdevice.h contains the following programming interfaces:

Functions

 
NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT

The NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT function initializes a NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS structure.
NET_DEVICE_RESET_CAPABILITIES_INIT

The NET_DEVICE_RESET_CAPABILITIES_INIT function initializes a NET_DEVICE_RESET_CAPABILITIES structure.
NetDeviceInitConfig

The NetDeviceInitConfig function initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
NetDeviceInitSetPowerPolicyEventCallbacks

The NetDeviceInitSetPowerPolicyEventCallbacks function sets optional power policy event callbacks during device initialization for a client driver.
NetDeviceInitSetResetCapabilities

The NetDeviceInitSetResetCapabilities function registers a client driver's NET_DEVICE_RESET_CAPABILITIES to the framework.
NetDeviceOpenConfiguration

The NetDeviceOpenConfiguration function opens a net device's configuration database.
NetDeviceRequestReset

The NetDeviceRequestReset function triggers the NetAdapterCx framework to perform the platform-level device reset operation that recovers an unresponsive NIC device.
NetDeviceStoreResetDiagnostics

The NetDeviceStoreResetDiagnostics function stores client driver collected reset diagnostics into the NetAdapterCx framework.

Callback functions

 
EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS

Implement EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS to collect diagnostics from a failed hardware device and report it to the framework during the device reset and recovery process.
EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD

Implement this optional callback to reject protocol offloads that are not compatible with your hardware.
EVT_NET_DEVICE_PREVIEW_WAKE_SOURCE

Implement this optional callback to reject wake patterns that are not compatible with your hardware.

Structures

 
NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS

The NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS structure contains function pointers for a client driver's power policy callback functions.
NET_DEVICE_RESET_CAPABILITIES

The NET_DEVICE_RESET_CAPABILITIES structure describes a client driver's capabilities for collecting diagnostics during the device reset and recovery process.