Filament::Capture
Constants
LINKTYPE_ETHERNET = 1_u32
LINKTYPE_LINUX_SLL = 113_u32
LINKTYPE_LINUX_SLL2 = 276_u32
LINKTYPE_NULL = 0_u32
LINKTYPE_RAW = 101_u32
MADV_SEQUENTIAL = 2
PCAP_GLOBAL_HEADER_SIZE = 24
Size of the global file header (magic + version + timezone + sigfigs + snaplen + linktype), in bytes.
PCAP_MAGIC_NANO_NATIVE = 2712812621_u32
Nanosecond PCAP magic - same format but timestamps are in nanoseconds instead of microseconds. Not super common but some tools produce it.
PCAP_MAGIC_NANO_SWAPPED = 1295823521_u32
PCAP_MAGIC_NATIVE = 2712847316_u32
Standard PCAP magic - microsecond timestamp resolution
PCAP_MAGIC_SWAPPED = 3569595041_u32
PCAP_PACKET_HEADER_SIZE = 16
Size of each per-packet header (timestamp seconds + timestamp microseconds + captured length + original length), in bytes.
Nested types
- Filament::Capture::BpfClass
- Filament::Capture::BpfCompiler
- Filament::Capture::BpfEvaluator
- Filament::Capture::BpfInstruction
- Filament::Capture::BpfMode
- Filament::Capture::BpfOp
- Filament::Capture::BpfProgram
- Filament::Capture::BpfSize
- Filament::Capture::BpfSrc
- Filament::Capture::CaptureSource
- Filament::Capture::CaptureStatistics
- Filament::Capture::InvalidMagicError
- Filament::Capture::LinkType
- Filament::Capture::LiveCapture
- Filament::Capture::LiveCaptureError
- Filament::Capture::MmapPcapReader
- Filament::Capture::NetworkInterfaceInfo
- Filament::Capture::PacketHeader
- Filament::Capture::PacketMetadata
- Filament::Capture::PacketRingBuffer
- Filament::Capture::PcapError
- Filament::Capture::PcapHeader
- Filament::Capture::PcapReader
- Filament::Capture::PcapWriter
- Filament::Capture::PcapngBlockType
- Filament::Capture::PcapngByteOrder
- Filament::Capture::PcapngError
- Filament::Capture::PcapngInterface
- Filament::Capture::PcapngOptionCode
- Filament::Capture::PcapngReader
- Filament::Capture::RawPacket
- Filament::Capture::RingBuffer(T)
- Filament::Capture::RingBufferStats
- Filament::Capture::TruncatedPacketError