RawPacket

Namespace:  NdisApi
Assemblies: ndisapi.dll

Represents raw network packet.

Properties:

public PACKET_FLAG DeviceFlags { get; set; }
Packet direction flags (PACKET_FLAG_ON_SEND, PACKET_FLAG_ON_RECEIVE).

public UInt32 NdisFlags { get; set; }
NDIS level flags of the network packet. This field can be a combination of the NDIS_FLAGS_XXX (defined in ndis.h).

public UInt32 Dot1q { get; set; }
802.1q VLAN Tag.

public UInt32 FilterId { get; set; }
Filter ID value for incoming packets specifies the filter index which redirected the packet for processing.

public CHECKSUM_FLAG Checksums { get; set; }
Combination of checksum recalculate flags (RECALCULATE_IP_V4, RECALCULATE_ICMP_V4, RECALCULATE_TCP_V4, RECALCULATE_UDP_V4).

public byte[] Data { get; set; }
Raw packet data buffer.