Package jnr.constants.platform.aix
Enum IPProto
- All Implemented Interfaces:
Serializable
,Comparable<IPProto>
,java.lang.constant.Constable
,Constant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
IPPROTO_IP
-
IPPROTO_HOPOPTS
-
IPPROTO_ICMP
-
IPPROTO_IGMP
-
IPPROTO_IPIP
-
IPPROTO_TCP
-
IPPROTO_EGP
-
IPPROTO_PUP
-
IPPROTO_UDP
-
IPPROTO_IDP
-
IPPROTO_TP
-
IPPROTO_IPV6
-
IPPROTO_ROUTING
-
IPPROTO_FRAGMENT
-
IPPROTO_RSVP
-
IPPROTO_GRE
-
IPPROTO_ESP
-
IPPROTO_AH
-
IPPROTO_ICMPV6
-
IPPROTO_NONE
-
IPPROTO_DSTOPTS
-
IPPROTO_SCTP
-
IPPROTO_RAW
-
IPPROTO_MAX
-
-
Field Details
-
value
private final long value -
MIN_VALUE
public static final long MIN_VALUE- See Also:
-
MAX_VALUE
public static final long MAX_VALUE- See Also:
-
-
Constructor Details
-
IPProto
private IPProto(long value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
intValue
public final int intValue() -
longValue
public final long longValue() -
defined
public final boolean defined()
-