Class Tun6Packet

  • All Implemented Interfaces:
    io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

    public class Tun6Packet
    extends TunPacket
    IPv6-based TunPacket.
    • Constructor Detail

      • Tun6Packet

        public Tun6Packet​(io.netty.buffer.ByteBuf data)
    • Method Detail

      • version

        public int version()
        Description copied from class: TunPacket
        Returns the IP version.
        Specified by:
        version in class TunPacket
        Returns:
        the IP version.
      • trafficClass

        public int trafficClass()
      • flowLabel

        public long flowLabel()
      • payloadLength

        public long payloadLength()
      • nextHeader

        public int nextHeader()
      • hopLimit

        public int hopLimit()
      • data

        public byte[] data()
      • toString

        public String toString()
        Overrides:
        toString in class io.netty.buffer.DefaultByteBufHolder