Module org.jnetpcap
Package org.jnetpcap

Class PcapHeader

java.lang.Object
org.jnetpcap.PcapHeader

public final class PcapHeader extends Object
A Pcap packet header also called a descriptor that precedes each packet. The pcap header is supplied natively by libpcap library and PcapHeader can bind to native memory without copy to access its fields.

PcapHeader supplies vital information about the captured packet. These fields disclaim the length of the data capture and if a packet was truncated with snaplen parameter on the Pcap handle, the packet length as originally seen on the wire. Additionally a timestamp of the instant when the packet was captured.

Author:
Sly Technologies Inc, repos@slytechs.com
See Also: