Class: FFI::PCap::PacketHeader

Inherits:
Struct
  • Object
show all
Includes:
DRY::StructHelper
Defined in:
lib/ffi/pcap/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.