NetPacketIsIpv6 function (packet.h)

The NetPacketIsIpv6 function determines if a NET_PACKET is an IPv6 packet.

Warning

This function is reserved for system use. Do not call this function from your code.

Syntax

BOOLEAN NetPacketIsIpv6(
  const NET_PACKET *packet
);

Parameters

packet

A pointer to a NET_PACKET structure.

Return value

Returns TRUE if the packet is an IPv6 packet; false otherwise.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.29
Header packet.h (include netadaptercx.h)
IRQL Any level as long as target memory is resident