Class GtpTunnel
- java.lang.Object
-
- org.onosproject.net.behaviour.upf.GtpTunnel
-
public final class GtpTunnel extends Object
A structure representing a unidirectional GTP tunnel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGtpTunnel.GtpTunnelBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GtpTunnel.GtpTunnelBuilderbuilder()org.onlab.packet.Ip4Addressdst()Get the destination address of this unidirectional GTP tunnel.booleanequals(Object obj)inthashCode()org.onlab.packet.Ip4Addresssrc()Get the source IP address of this unidirectional GTP tunnel.ShortsrcPort()Get the source L4 port of this unidirectional GTP tunnel.org.onlab.util.ImmutableByteSequenceteid()Get the ID of this unidirectional GTP tunnel.StringtoString()
-
-
-
Method Detail
-
builder
public static GtpTunnel.GtpTunnelBuilder builder()
-
src
public org.onlab.packet.Ip4Address src()
Get the source IP address of this unidirectional GTP tunnel.- Returns:
- tunnel source IP
-
dst
public org.onlab.packet.Ip4Address dst()
Get the destination address of this unidirectional GTP tunnel.- Returns:
- tunnel destination IP
-
teid
public org.onlab.util.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
-
-