Class: Caper::PacketHeader
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Caper::PacketHeader
- Includes:
- FFI::DRY::StructHelper
- Defined in:
- lib/caper/packet_header.rb
Overview
Generic per-packet information, as supplied by libpcap. This structure is used to track only the libpcap header and just contains the timestamp and length information used by libpcap.
See pcap_pkthdr struct in pcap.h