Header class

The Header class is the abstract superclass for creating classes that represent specific kinds of packet headers. Packet headers include the associated data (or payload), which can be other headers and payloads. The subclasses of Header include:

Header classes enable you to retrieve the data for the header and the payload. One header can encapsulate other headers and their payloads.

Creating an instance of a Packet class automatically creates the appropriate Header object. The Header classes provide methods that allow you to perform a variety of actions that include the following:

Javadoc reference documentation

For more information about the Header classes, see the following Javadoc reference documentation:

Header

ARPHeader

ExtHeader

ICMP4Header

ICMP6Header

IP4Header

IP6Header

TCPHeader

UDPHeader

UnknownHeader