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()Ip4Addressdst()Get the destination address of this unidirectional GTP tunnel.booleanequals(Object obj)inthashCode()Ip4Addresssrc()Get the source IP address of this unidirectional GTP tunnel.ShortsrcPort()Get the source L4 port of this unidirectional GTP tunnel.ImmutableByteSequenceteid()Get the ID of this unidirectional GTP tunnel.StringtoString()
-
-
-
Method Detail
-
builder
public static GtpTunnel.GtpTunnelBuilder builder()
-
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
-
-