Class ICMPv6Packet

  • Direct Known Subclasses:
    ICMPv6EchoPacket

    public class ICMPv6Packet
    extends Object
    ICMPPacket
    Author:
    brozow
    • Constructor Detail

      • ICMPv6Packet

        public ICMPv6Packet​(ByteBuffer ipPayload)
      • ICMPv6Packet

        public ICMPv6Packet​(ICMPv6Packet icmpPacket)
      • ICMPv6Packet

        public ICMPv6Packet​(int size)
    • Method Detail

      • getPacketLength

        public int getPacketLength()
      • getCode

        public int getCode()
      • setCode

        public void setCode​(int code)
      • getChecksum

        public int getChecksum()
      • computeChecksum

        public int computeChecksum()
      • setBytes

        public void setBytes​(int index,
                             byte[] b)
      • makeUnsignedShort

        public int makeUnsignedShort​(byte b1,
                                     byte b0)
      • getUnsignedShort

        public int getUnsignedShort​(int index)
      • setUnsignedShort

        public void setUnsignedShort​(int index,
                                     int us)