com.ibm.as400.util.commtrace

Class IP6Header



  • public class IP6Header
    extends Header
    An IPv6 Header.
    Extends Header's methods to parse, print, and allow easy access to the IPv6 Header.
    • Method Detail

      • getHeaderLen

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

        public Header getNextHeader()
        Description copied from class: Header
        Returns the next header in this packet.
        Overrides:
        getNextHeader in class Header
        Returns:
        Will always return null.
      • 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.
      • getVersion

        public java.lang.String getVersion()
        Returns the version of this Header.
        Returns:
        String containing a decimal representation of the version.
      • getTrafficClass

        public java.lang.String getTrafficClass()
        Returns the traffic class of this Header.
        Returns:
        String containing a decimal representation of the traffic class.
      • getFlowLabel

        public java.lang.String getFlowLabel()
        Returns the flow label of this Header.
        Returns:
        String containing a decimal representation of the flow label.
      • getPayloadLength

        public java.lang.String getPayloadLength()
        Returns the payload length of this Header.
        Returns:
        String containing a decimal representation of the payload length.
      • getNextHeaderDec

        public java.lang.String getNextHeaderDec()
        Returns the next header identifier.
        Returns:
        String containing a decimal representation of the next header identifier.
      • getHopLimit

        public java.lang.String getHopLimit()
        Returns the hop limit of this Header.
        Returns:
        String containing a decimal representation of the hop limit.
      • getSrcAddr

        public java.lang.String getSrcAddr()
        Returns the source IPv6 Address of this Header.
        Returns:
        String containing a delimited decimal representation of the source address.
      • getDstAddr

        public java.lang.String getDstAddr()
        Returns the destination IPv6 Address of this Header
        Returns:
        String containing a delimited decimal representation of the destination address