Click or drag to resize
BroccoliSharp BroPacket Constructor (UInt32, UInt32, UInt32, Byte, String)
Creates a new BroPacket from libpcap packet header information with seconds, microseconds and packet data.

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

Parameters

seconds
Type: SystemUInt32
Epoch seconds of timestamp (e.g., timeval.tv_sec).
microseconds
Type: SystemUInt32
Microseconds of timestamp (e.g., timeval.tv_usec).
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