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 class
GtpTunnel.GtpTunnelBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GtpTunnel.GtpTunnelBuilder
builder()
Ip4Address
dst()
Get the destination address of this unidirectional GTP tunnel.boolean
equals(Object obj)
int
hashCode()
Ip4Address
src()
Get the source IP address of this unidirectional GTP tunnel.Short
srcPort()
Get the source L4 port of this unidirectional GTP tunnel.ImmutableByteSequence
teid()
Get the ID of this unidirectional GTP tunnel.String
toString()
-
-
-
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
-
-