|
BroPacket Constructor (UInt64, UInt32, Byte, String) |
Creates a new
BroPacket from libpcap packet header information with 64-bit timestamp and packet data.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public BroPacket(
ulong timestamp,
uint captureLength,
byte[] packetData,
string tag = null
)
Public Sub New (
timestamp As ULong,
captureLength As UInteger,
packetData As Byte(),
Optional tag As String = Nothing
)
new :
timestamp : uint64 *
captureLength : uint32 *
packetData : byte[] *
?tag : string
(* Defaults:
let _tag = defaultArg tag null
*)
-> BroPacket
public BroPacket(
UInt64 timestamp,
UInt32 captureLength,
byte[] packetData,
String tag = null
)
BroccoliSharp.BroPacket = function(timestamp, captureLength, packetData, tag);
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 See Also