Enum IPProto

    • Enum Constant Detail

      • IPPROTO_IP

        public static final IPProto IPPROTO_IP
        Deprecated.
      • IPPROTO_HOPOPTS

        public static final IPProto IPPROTO_HOPOPTS
        Deprecated.
      • IPPROTO_ICMP

        public static final IPProto IPPROTO_ICMP
        Deprecated.
      • IPPROTO_IGMP

        public static final IPProto IPPROTO_IGMP
        Deprecated.
      • IPPROTO_IPIP

        public static final IPProto IPPROTO_IPIP
        Deprecated.
      • IPPROTO_TCP

        public static final IPProto IPPROTO_TCP
        Deprecated.
      • IPPROTO_EGP

        public static final IPProto IPPROTO_EGP
        Deprecated.
      • IPPROTO_PUP

        public static final IPProto IPPROTO_PUP
        Deprecated.
      • IPPROTO_UDP

        public static final IPProto IPPROTO_UDP
        Deprecated.
      • IPPROTO_IDP

        public static final IPProto IPPROTO_IDP
        Deprecated.
      • IPPROTO_TP

        public static final IPProto IPPROTO_TP
        Deprecated.
      • IPPROTO_IPV6

        public static final IPProto IPPROTO_IPV6
        Deprecated.
      • IPPROTO_ROUTING

        public static final IPProto IPPROTO_ROUTING
        Deprecated.
      • IPPROTO_FRAGMENT

        public static final IPProto IPPROTO_FRAGMENT
        Deprecated.
      • IPPROTO_RSVP

        public static final IPProto IPPROTO_RSVP
        Deprecated.
      • IPPROTO_GRE

        public static final IPProto IPPROTO_GRE
        Deprecated.
      • IPPROTO_ESP

        public static final IPProto IPPROTO_ESP
        Deprecated.
      • IPPROTO_AH

        public static final IPProto IPPROTO_AH
        Deprecated.
      • IPPROTO_ICMPV6

        public static final IPProto IPPROTO_ICMPV6
        Deprecated.
      • IPPROTO_NONE

        public static final IPProto IPPROTO_NONE
        Deprecated.
      • IPPROTO_DSTOPTS

        public static final IPProto IPPROTO_DSTOPTS
        Deprecated.
      • IPPROTO_MTP

        public static final IPProto IPPROTO_MTP
        Deprecated.
      • IPPROTO_ENCAP

        public static final IPProto IPPROTO_ENCAP
        Deprecated.
      • IPPROTO_PIM

        public static final IPProto IPPROTO_PIM
        Deprecated.
      • IPPROTO_COMP

        public static final IPProto IPPROTO_COMP
        Deprecated.
      • IPPROTO_SCTP

        public static final IPProto IPPROTO_SCTP
        Deprecated.
      • IPPROTO_RAW

        public static final IPProto IPPROTO_RAW
        Deprecated.
      • IPPROTO_MAX

        public static final IPProto IPPROTO_MAX
        Deprecated.
      • __UNKNOWN_CONSTANT__

        public static final IPProto __UNKNOWN_CONSTANT__
        Deprecated.
    • Method Detail

      • values

        public static IPProto[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IPProto c : IPProto.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IPProto valueOf​(String name)
        Deprecated.
        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 name
        NullPointerException - if the argument is null
      • value

        public final int value()
        Deprecated.
        Specified by:
        value in interface Constant
      • intValue

        public final int intValue()
        Deprecated.
        Specified by:
        intValue in interface Constant
      • longValue

        public final long longValue()
        Deprecated.
        Specified by:
        longValue in interface Constant
      • description

        public final String description()
        Deprecated.
      • defined

        public final boolean defined()
        Deprecated.
        Specified by:
        defined in interface Constant
      • valueOf

        public static final IPProto valueOf​(int value)
        Deprecated.
        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:
        value - 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 name
        NullPointerException - if the argument is null