NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL macro

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


PNDIS_SWITCH_FORWARDING_DETAIL_NET_BUFFER_LIST_INFO NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(
  NET_BUFFER_LIST _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

Version

Supported in NDIS 6.30 and later.

Header

Ndis.h (include 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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft