Bewerken

Delen via


NetPacketIsIpv4 function (packet.h)

The NetPacketIsIpv4 function determines if a NET_PACKET is an IPv4 packet.

Warning

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

Syntax

BOOLEAN NetPacketIsIpv4(
  const NET_PACKET *packet
);

Parameters

packet

A pointer to a NET_PACKET structure.

Return value

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

Requirements

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