Click or drag to resize
BroccoliSharp BroPacket Constructor (UInt64, UInt32, Byte, String)
Creates a new BroPacket from libpcap packet header information with 64-bit timestamp and packet data.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public BroPacket(
	ulong timestamp,
	uint captureLength,
	byte[] packetData,
	string tag = null
)

Parameters

timestamp
Type: SystemUInt64
64-bit timestamp (high-dword = Epoch seconds, low-dword = microseconds).
captureLength
Type: SystemUInt32
Capture length - portion present.
packetData
Type: SystemByte
Packet data.
tag (Optional)
Type: SystemString
Optional tag.
Exceptions
ExceptionCondition
ArgumentNullExceptionpacketData is null.
OutOfMemoryExceptionFailed to create Bro packet.
See Also