NetPacketIsIpv4 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// packet.h

BOOLEAN NetPacketIsIpv4(
  const NET_PACKET *packet
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-packet-netpacketisipv4)

NetPacketIsIpv4 function

Description

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.

Parameters

packet

A pointer to a NET_PACKET structure.

Return value

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

Remarks

See also