NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL macro (ndis.h)

Hyper-V extensible switch extensions use the NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL macro to access the NDIS_SWITCH_FORWARDING_DETAIL_NET_BUFFER_LIST_INFO union in the extensible switch context area in a NET_BUFFER_LIST structure.

Syntax

void NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(
   _NBL
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

The NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL macro returns a pointer to the NDIS_SWITCH_FORWARDING_DETAIL_NET_BUFFER_LIST_INFO union within the specified NET_BUFFER_LIST structure.

Note

NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL returns NULL if the NET_BUFFER_LIST structure does not contain an NDIS_SWITCH_FORWARDING_DETAIL_NET_BUFFER_LIST_INFO structure.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.30 and later.
Target Platform Universal
Header ndis.h

See also

Adding Extensible Switch Destination Port Data to a Packet

Cloning Packet Traffic

Excluding Packet Delivery to Extensible Switch Destination Ports

Forwarding Extensions

Forwarding Packets to Hyper-V Extensible Switch Ports

Forwarding Packets to Physical Network Adapters

Modifying a Packet's Extensible Switch Source Port Data

Overview of the Hyper-V Extensible Switch

Packet Management Guidelines for the Extensible Switch Data Path

Querying a Packet's Extensible Switch Source Port Data

NDIS_SWITCH_FORWARDING_DETAIL_NET_BUFFER_LIST_INFO

NET_BUFFER_LIST