public final class IpV6RoutingSourceRouteData extends Object implements IpV6ExtRoutingPacket.IpV6RoutingData
Constructor and Description |
---|
IpV6RoutingSourceRouteData(int reserved,
List<Inet6Address> addresses) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static IpV6RoutingSourceRouteData |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public IpV6RoutingSourceRouteData(int reserved, List<Inet6Address> addresses)
reserved
- reservedaddresses
- addressespublic static IpV6RoutingSourceRouteData newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public int length()
length
in interface IpV6ExtRoutingPacket.IpV6RoutingData
public byte[] getRawData()
getRawData
in interface IpV6ExtRoutingPacket.IpV6RoutingData
Copyright © 2011–2016 Pcap4J.org. All rights reserved.