public class SessionLSPTunnelIPv6 extends Session
| Modifier and Type | Field and Description |
|---|---|
protected Inet6Address |
egressNodeAddress
IPv6 address of the egress node for the tunnel.
|
protected int |
extendedTunnelId
A 16-byte identifier used in the SESSION that remains constant
over the life of the tunnel.
|
protected int |
tunnelId
A 16-bit identifier used in the SESSION that remains constant
over the life of the tunnel.
|
bytes, classNum, cType, length| Constructor and Description |
|---|
SessionLSPTunnelIPv6()
Constructor to be used when a new Session LSP Tunnel IPv6 Object wanted to be
attached to a new message
|
SessionLSPTunnelIPv6(byte[] bytes,
int offset)
Constructor to be used when a new Session LSP Tunnel IPv6 Object wanted to be decoded from a received
message.
|
SessionLSPTunnelIPv6(Inet6Address egressNodeAddress,
int tunnelId,
int extendedTunnelId)
Constructor to be used when a new Session LSP Tunnel IPv6 Object wanted to be
attached to a new message
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| IPv6 tunnel end point address |
+ +
| (16 bytes) |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MUST be zero | Tunnel ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| Extended Tunnel ID |
+ +
| (16 bytes) |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthprotected Inet6Address egressNodeAddress
protected int tunnelId
protected int extendedTunnelId
public SessionLSPTunnelIPv6()
public SessionLSPTunnelIPv6(Inet6Address egressNodeAddress, int tunnelId, int extendedTunnelId)
egressNodeAddress - extendedTunnelId - public SessionLSPTunnelIPv6(byte[] bytes,
int offset)
bytes - offset - public void encode()
encode in interface RSVPElementencode in class RSVPObjectpublic void decode(byte[] bytes,
int offset)
decode in class RSVPObjectCopyright © 2016. All rights reserved.