No description available.
A NET_PACKET_LAYOUT structure describes the start of each protocol header in a NET_PACKET.
Layer2HeaderLengthThe length in bytes of the Layer 2 header, or zero if the Layer 2 length is unknown.
Layer3HeaderLengthThe length in bytes of the Layer 3 header, or zero if the Layer 3 length is unknown.
Layer4HeaderLengthThe length of the Layer 4 header, or zero if the Layer 4 length is unknown.
Layer2TypeAn enumeration that specifies a flag from NET_PACKET_LAYER2_TYPE.
typedef enum _NET_PACKET_LAYER2_TYPE
{
NetPacketLayer2TypeUnspecified,
NetPacketLayer2TypeNull,
NetPacketLayer2TypeEthernet,
} NET_PACKET_LAYER2_TYPE;
Layer3TypeAn enumeration that specifies a flag from NET_PACKET_LAYER3_TYPE.
typedef enum _NET_PACKET_LAYER3_TYPE
{
NetPacketLayer3TypeUnspecified,
NetPacketLayer3TypeIPv4UnspecifiedOptions,
NetPacketLayer3TypeIPv4WithOptions,
NetPacketLayer3TypeIPv4NoOptions,
NetPacketLayer3TypeIPv6UnspecifiedExtensions,
NetPacketLayer3TypeIPv6WithExtensions,
NetPacketLayer3TypeIPv6NoExtensions,
} NET_PACKET_LAYER3_TYPE;
Layer4TypeAn enumeration that specifies a flag from NET_PACKET_LAYER4_TYPE.
typedef enum _NET_PACKET_LAYER4_TYPE
{
NetPacketLayer4TypeUnspecified,
NetPacketLayer4TypeTcp,
NetPacketLayer4TypeUdp,
NetPacketLayer4TypeIPFragment,
NetPacketLayer4TypeIPNotFragment,
} NET_PACKET_LAYER4_TYPE;
Reserved0Reserved for system use.
For more info about using this structure, see the Layout member of NET_PACKET.