A wrapper for libpcap's pcap_pkthdr structure
See Also: Inherited members from ValueType.
|
Constructs a new PcapHeader |
|
CaptureLength | uint . The the bytes actually captured. If the capture length is small CaptureLength might be less than PacketLength |
|
MicroSeconds | uint . The microseconds value of the packet's timestamp |
|
PacketLength | uint . The length of the packet on the line |
|
Seconds | uint . The seconds value of the packet's timestamp |
static
|
FromPointer
(IntPtr)Get a PcapHeader structure from a pcap_pkthdr pointer. |
|
|
MarshalToIntPtr
()Marshal this structure into the platform dependent version and return and IntPtr to that memory NOTE: IntPtr MUST BE FREED via Marshal.FreeHGlobal() |
Constructs a new PcapHeader
Syntax
Parameters
- seconds
- The seconds value of the packet's timestamp
- microseconds
- The microseconds value of the packet's timestamp
- packetLength
- The actual length of the packet
- captureLength
- The length of the capture
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
The the bytes actually captured. If the capture length is small CaptureLength might be less than PacketLength
Syntax
public uint CaptureLengthRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
Return the DateTime value of this pcap header
Syntax
public DateTime Date { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
Get a PcapHeader structure from a pcap_pkthdr pointer.
Syntax
public static PcapHeader FromPointer (IntPtr pcap_pkthdr)Parameters
- pcap_pkthdr
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
Marshal this structure into the platform dependent version and return and IntPtr to that memory NOTE: IntPtr MUST BE FREED via Marshal.FreeHGlobal()
Syntax
public IntPtr MarshalToIntPtr ()Returns
A IntPtrRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
The microseconds value of the packet's timestamp
Syntax
public uint MicroSecondsRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
The length of the packet on the line
Syntax
public uint PacketLengthRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0
The seconds value of the packet's timestamp
Syntax
public uint SecondsRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: SharpPcap.LibPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0