// packet.h
BOOLEAN NetPacketIsIpv4(
const NET_PACKET *packet
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
packetA pointer to a NET_PACKET structure.
Returns TRUE if the packet is an IPv4 packet; false otherwise.