java.lang.Object
org.pcap4j.packet.namednumber.NamedNumber<Byte,IpV6OptionType>
org.pcap4j.packet.namednumber.IpV6OptionType
- All Implemented Interfaces:
Serializable,Comparable<IpV6OptionType>
IpV6 Option Type
- Since:
- pcap4j 0.9.10
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe act field (The highest-order two bits of the Option Type). -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IpV6OptionType.IpV6OptionTypeActionstatic final IpV6OptionTypeCALIPSO: 0x07static final IpV6OptionTypeEndpoint Identification: 0x8Astatic final IpV6OptionTypeHome Address: 0xC9static final IpV6OptionTypeILNP Nonce: 0x8Bstatic final IpV6OptionTypeIP_DFF: 0xEEstatic final IpV6OptionTypeJumbo Payload: 0xC2static final IpV6OptionTypeLine-Identification: 0x8Cstatic final IpV6OptionTypeMPL: 0x6Dstatic final IpV6OptionTypePad1: 0x00static final IpV6OptionTypePadN: 0x01static final IpV6OptionTypeQuick-Start: 0x26private static final Map<Byte, IpV6OptionType> static final IpV6OptionTypeRouter Alert: 0x05static final IpV6OptionTypeRPL: 0x63private static final longstatic final IpV6OptionTypeSMF_DPD: 0x08static final IpV6OptionTypeTunnel Encapsulation Limit: 0x04 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe act field (The highest-order two bits of the Option Type)static IpV6OptionTypegetInstance(Byte value) booleanThe chg field (The third-highest-order bit of the Option Type)static IpV6OptionTyperegister(IpV6OptionType type)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
PAD1
Pad1: 0x00 -
PADN
PadN: 0x01 -
JUMBO_PAYLOAD
Jumbo Payload: 0xC2 -
RPL
RPL: 0x63 -
TUNNEL_ENCAPSULATION_LIMIT
Tunnel Encapsulation Limit: 0x04 -
ROUTER_ALERT
Router Alert: 0x05 -
QUICK_START
Quick-Start: 0x26 -
CALIPSO
CALIPSO: 0x07 -
SMF_DPD
SMF_DPD: 0x08 -
HOME_ADDRESS
Home Address: 0xC9 -
ENDPOINT_IDENTIFICATION
Endpoint Identification: 0x8A -
ILNP_NONCE
ILNP Nonce: 0x8B -
LINE_IDENTIFICATION
Line-Identification: 0x8C -
MPL
MPL: 0x6D -
IP_DFF
IP_DFF: 0xEE -
registry
-
action
-
-
Constructor Details
-
IpV6OptionType
- Parameters:
value- valuename- name
-
-
Method Details
-
getInstance
- Parameters:
value- value- Returns:
- a IpV6OptionType object.
-
register
- Parameters:
type- type- Returns:
- a IpV6OptionType object.
-
valueAsString
- Overrides:
valueAsStringin classNamedNumber<Byte,IpV6OptionType> - Returns:
- a string representation of this value.
-
compareTo
- Specified by:
compareToin interfaceComparable<IpV6OptionType>- Specified by:
compareToin classNamedNumber<Byte,IpV6OptionType>
-
getAction
The act field (The highest-order two bits of the Option Type)- Returns:
- action
-
optionDataMayChange
public boolean optionDataMayChange()The chg field (The third-highest-order bit of the Option Type)- Returns:
- true if the option data may change en-route; false the option data does not change en-route.
-