Class GtpTunnel


  • public final class GtpTunnel
    extends Object
    A structure representing a unidirectional GTP tunnel.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • src

        public Ip4Address src()
        Get the source IP address of this unidirectional GTP tunnel.
        Returns:
        tunnel source IP
      • dst

        public Ip4Address dst()
        Get the destination address of this unidirectional GTP tunnel.
        Returns:
        tunnel destination IP
      • teid

        public ImmutableByteSequence teid()
        Get the ID of this unidirectional GTP tunnel.
        Returns:
        tunnel ID
      • srcPort

        public Short srcPort()
        Get the source L4 port of this unidirectional GTP tunnel.
        Returns:
        tunnel source port