A Tcpdump packet has the following format:
seconds [4 bytes]
microseconds [4 bytes]
captured length [4 bytes]
original packet length [4 bytes]
packet data [variable length]
A Tcpdump file header is 24 bytes:
4 bytes: Tcpdump signature "magic number" 0xA1B2C3D4
2 bytes: Major version number, currently 2
2 bytes: Minor version number, currently 4
4 bytes: Time Zone offset, currently unused (set to zero)
4 bytes: Time stamp accuracy, currently unused (set to zero)
4 bytes: Snapshot length
4 bytes: Link-layer type, Ethernet for now
X
X11 -
Static variable in interface net.sourceforge.jpcap.net.IPPorts
X11_BEGIN -
Static variable in interface net.sourceforge.jpcap.net.IPPorts
X11_END -
Static variable in interface net.sourceforge.jpcap.net.IPPorts