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