java.lang.Object
org.pcap4j.packet.namednumber.NamedNumber<Byte,IpV6RoutingType>
org.pcap4j.packet.namednumber.IpV6RoutingType
- All Implemented Interfaces:
Serializable,Comparable<IpV6RoutingType>
IPv6 Routing Type
- Since:
- pcap4j 1.4.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IpV6RoutingTypeNimrod: 1private static final Map<Byte, IpV6RoutingType> static final IpV6RoutingTypeRPL Source Route Header: 3private static final longstatic final IpV6RoutingTypeSource Route: 0static final IpV6RoutingTypeType 2 Routing Header: 2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic IpV6RoutingTypegetInstance(Byte value) static IpV6RoutingTyperegister(IpV6RoutingType number)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
SOURCE_ROUTE
Source Route: 0 -
NIMROD
Nimrod: 1 -
TYPE2_ROUTING_HEADER
Type 2 Routing Header: 2 -
RPL_SOURCE_ROUTE_HEADER
RPL Source Route Header: 3 -
registry
-
-
Constructor Details
-
IpV6RoutingType
- Parameters:
value- valuename- name
-
-
Method Details
-
getInstance
- Parameters:
value- value- Returns:
- a IpV6RoutingHeaderType object.
-
register
- Parameters:
number- number- Returns:
- a IpV6RoutingHeaderType object.
-
valueAsString
- Overrides:
valueAsStringin classNamedNumber<Byte,IpV6RoutingType> - Returns:
- a string representation of this value.
-
compareTo
- Specified by:
compareToin interfaceComparable<IpV6RoutingType>- Specified by:
compareToin classNamedNumber<Byte,IpV6RoutingType>
-