All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jnr.constants.platform.fake.IPProto Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2018-09-20 16:28:48 +0000
package jnr.constants.platform.fake;
public enum IPProto implements jnr.constants.Constant {
IPPROTO_IP(1),
IPPROTO_HOPOPTS(2),
IPPROTO_ICMP(3),
IPPROTO_IGMP(4),
IPPROTO_IPIP(5),
IPPROTO_TCP(6),
IPPROTO_EGP(7),
IPPROTO_PUP(8),
IPPROTO_UDP(9),
IPPROTO_IDP(10),
IPPROTO_TP(11),
IPPROTO_IPV6(12),
IPPROTO_ROUTING(13),
IPPROTO_FRAGMENT(14),
IPPROTO_RSVP(15),
IPPROTO_GRE(16),
IPPROTO_ESP(17),
IPPROTO_AH(18),
IPPROTO_ICMPV6(19),
IPPROTO_NONE(20),
IPPROTO_DSTOPTS(21),
IPPROTO_MTP(22),
IPPROTO_ENCAP(23),
IPPROTO_PIM(24),
IPPROTO_COMP(25),
IPPROTO_SCTP(26),
IPPROTO_RAW(27),
IPPROTO_MAX(28);
private final long value;
private IPProto(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 28L;
public final int value() { return (int) value; }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy