public final class NextHopUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static CNextHop |
parseNextHop(io.netty.buffer.ByteBuf buffer)
Parses CNextHop IP address from given ByteBuf.
|
static CNextHop |
parseNextHopFullIpv6(io.netty.buffer.ByteBuf buffer)
Parses CNextHop IPv6 global+local address from given ByteBuf, which has already been checked for size.
|
static CNextHop |
parseNextHopIpv4(io.netty.buffer.ByteBuf buffer)
Parses CNextHop IPv4 address from given ByteBuf, which has already been checked for size.
|
static CNextHop |
parseNextHopIpv6(io.netty.buffer.ByteBuf buffer)
Parses CNextHop IPv6 global address from given ByteBuf, which has already been checked for size.
|
static void |
serializeNextHop(CNextHop cnextHop,
io.netty.buffer.ByteBuf byteAggregator)
Writes serialized cnextHop IP address as byte value into ByteBuf.
|
public static void serializeNextHop(CNextHop cnextHop, io.netty.buffer.ByteBuf byteAggregator)
cnextHop - next hop to be serializedbyteAggregator - where the next hop will be writtenpublic static CNextHop parseNextHop(io.netty.buffer.ByteBuf buffer)
buffer - contains byte array representation of CNextHoppublic static CNextHop parseNextHopIpv4(io.netty.buffer.ByteBuf buffer)
buffer - contains byte array representation of CNextHoppublic static CNextHop parseNextHopIpv6(io.netty.buffer.ByteBuf buffer)
buffer - contains byte array representation of CNextHoppublic static CNextHop parseNextHopFullIpv6(io.netty.buffer.ByteBuf buffer)
buffer - contains byte array representation of CNextHopCopyright © 2020 OpenDaylight. All rights reserved.