NET_POWER_OFFLOAD_ARP_PARAMETERS structure (netpoweroffload.h)

The NET_POWER_OFFLOAD_ARP_PARAMETERS structure contains parameters for an IPv4 ARP low-power protocol offload to a net adapter.

Syntax

typedef struct _NET_POWER_OFFLOAD_ARP_PARAMETERS {
  ULONG                          Size;
  ULONG                          Id;
  NET_IPV4_ADDRESS               RemoteIPv4Address;
  NET_IPV4_ADDRESS               HostIPv4Address;
  NET_ADAPTER_LINK_LAYER_ADDRESS LinkLayerAddress;
} NET_POWER_OFFLOAD_ARP_PARAMETERS;

Members

Size

The size of this structure, in bytes.

Id

The identifier for this protocol offload.

RemoteIPv4Address

The Source Protocol Address (SPA) field of the ARP request. This member is optional.

If the incoming ARP request has an SPA value that matches this IPv4 address, the net adapter sends an ARP response when it is in a low power state. If this member is zero, the net adapter should respond to ARP requests from any remote IPv4 address.

HostIPv4Address

The host's IPv4 address. When it sends the ARP response, the net adapter uses this member for the SPA field of the response.

LinkLayerAddress

The media access control (MAC) address. The net adapter uses this MAC address for the Source Hardware Address (SHA) field of the ARP response packet that it generates.

Note

When it sends an ARP response, the net adapter must always use this MAC address in the ARP payload. However, it should use the current MAC address of the net adapter as the source address in the MAC header.

Remarks

Call NET_POWER_OFFLOAD_ARP_PARAMETERS_INIT to initialize this structure and fill in its Size field. After calling NET_POWER_OFFLOAD_ARP_PARAMETERS_INIT, call NetPowerOffloadGetArpParameters to fill in the remaining members of the structure.

For more information about the ARP protocol, see RFC 826.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Minimum UMDF version 2.33
Header netpoweroffload.h (include netadaptercx.h)

See also

Configuring power management

NET_POWER_OFFLOAD_ARP_PARAMETERS_INIT

NetPowerOffloadGetArpParameters