|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Ip4.IpOption.OptionCode>
org.jnetpcap.protocol.network.Ip4.IpOption.OptionCode
public static enum Ip4.IpOption.OptionCode
A table of IpOption types and their names.
| Enum Constant Summary | |
|---|---|
ADDRESS_EXTENSION
The ADDRES s_ extension. |
|
DYNAMIC_PACKET_STATE
The DYNAMI c_ packe t_ state. |
|
ENCODE
The ENCODE. |
|
END_OF_OPTION_LIST
The EN d_ o f_ optio n_ list. |
|
EXPERIMENTAL_ACCESS_CONTROL
The EXPERIMENTA l_ acces s_ control. |
|
EXPERIMENTAL_FLOW_CONTROL
The EXPERIMENTA l_ flo w_ control. |
|
EXPERIMENTAL_MEASUREMENT
The EXPERIMENTA l_ measurement. |
|
EXTENDED_IP
The EXTENDE d_ ip. |
|
IMI_TRAFFIC_DESCRIPTOR
The IM i_ traffi c_ descriptor. |
|
LOOSE_SOURCE_ROUTE
The LOOS e_ sourc e_ route. |
|
MTU_PROBE
The MT u_ probe. |
|
MTU_REPLY
The MT u_ reply. |
|
NO_OP
The N o_ op. |
|
QUICK_START
The QUIC k_ start. |
|
RECORD_ROUTE
The RECOR d_ route. |
|
ROUTER_ALERT
The ROUTE r_ alert. |
|
SECURITY
The SECURITY. |
|
SELECTIVE_DIRECTED_BROADCAST_MOST
The SELECTIV e_ directe d_ broadcas t_ most. |
|
STREAM_ID
The STREA m_ id. |
|
STRICT_SOURCE_ROUTE
The STRIC t_ sourc e_ route. |
|
TIMESTAMP
The TIMESTAMP. |
|
TRACEROUTE
The TRACEROUTE. |
|
UNASSIGNED1
The UNASSIGNE d1. |
|
UNASSIGNED2
The UNASSIGNE d2. |
|
UPSTREAM_MULTICAST_PACKET
The UPSTREA m_ multicas t_ packet. |
|
| Field Summary | |
|---|---|
int |
id
The id. |
| Method Summary | |
|---|---|
static Ip4.IpOption.OptionCode |
valueOf(int id)
Value of. |
static Ip4.IpOption.OptionCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Ip4.IpOption.OptionCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Ip4.IpOption.OptionCode END_OF_OPTION_LIST
public static final Ip4.IpOption.OptionCode LOOSE_SOURCE_ROUTE
public static final Ip4.IpOption.OptionCode NO_OP
public static final Ip4.IpOption.OptionCode RECORD_ROUTE
public static final Ip4.IpOption.OptionCode SECURITY
public static final Ip4.IpOption.OptionCode STREAM_ID
public static final Ip4.IpOption.OptionCode STRICT_SOURCE_ROUTE
public static final Ip4.IpOption.OptionCode TIMESTAMP
public static final Ip4.IpOption.OptionCode UNASSIGNED1
public static final Ip4.IpOption.OptionCode UNASSIGNED2
public static final Ip4.IpOption.OptionCode EXPERIMENTAL_MEASUREMENT
public static final Ip4.IpOption.OptionCode MTU_PROBE
public static final Ip4.IpOption.OptionCode MTU_REPLY
public static final Ip4.IpOption.OptionCode EXPERIMENTAL_FLOW_CONTROL
public static final Ip4.IpOption.OptionCode EXPERIMENTAL_ACCESS_CONTROL
public static final Ip4.IpOption.OptionCode ENCODE
public static final Ip4.IpOption.OptionCode IMI_TRAFFIC_DESCRIPTOR
public static final Ip4.IpOption.OptionCode EXTENDED_IP
public static final Ip4.IpOption.OptionCode TRACEROUTE
public static final Ip4.IpOption.OptionCode ADDRESS_EXTENSION
public static final Ip4.IpOption.OptionCode ROUTER_ALERT
public static final Ip4.IpOption.OptionCode SELECTIVE_DIRECTED_BROADCAST_MOST
public static final Ip4.IpOption.OptionCode DYNAMIC_PACKET_STATE
public static final Ip4.IpOption.OptionCode UPSTREAM_MULTICAST_PACKET
public static final Ip4.IpOption.OptionCode QUICK_START
| Field Detail |
|---|
public final int id
| Method Detail |
|---|
public static Ip4.IpOption.OptionCode[] values()
for (Ip4.IpOption.OptionCode c : Ip4.IpOption.OptionCode.values()) System.out.println(c);
public static Ip4.IpOption.OptionCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static Ip4.IpOption.OptionCode valueOf(int id)
id - the id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||