com.ibm.as400.util.commtrace

Class ICMP6Header

  • Direct Known Subclasses:
    Message, NDOption


    public class ICMP6Header
    extends Header
    A Internet Control Message Protocol v6 Header.
    Extends Header's methods to parse, print, and allow easy access to the ICMPv6 Header.
  • >
    • Method Detail

      • getHeaderLen

        public int getHeaderLen()
        Returns the length of this header.
        Overrides:
        getHeaderLen in class Header
        Returns:
        Will always return 32.
      • getNextHeader

        public Header getNextHeader()
        Returns the next header in the packet.
        Overrides:
        getNextHeader in class Header
        Returns:
        Will always return a Message Header.
      • toString

        public java.lang.String toString(FormatProperties filter)
        Returns a printable representation of this header.
        Overrides:
        toString in class Header
        Parameters:
        filter - FormatProperties object for filtering this header.
        Returns:
        Returns a string representation of this header.
      • getTypeField

        public java.lang.String getTypeField()
        Returns the type of this ICMPv6 Header from the trace.
        Returns:
        String containing a decimal representation of the type of this header.
      • getCode

        public java.lang.String getCode()
        Returns the code of this ICMPv6 Header.
        Returns:
        String containing a decimal representation of the code for this header.
      • getChecksum

        public java.lang.String getChecksum()
        Returns the checksum of this ICMPv6 Header.
        Returns:
        String containing a decimal representation of the checksum for this header.