com.kenai.constantine.platform.linux.IPProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-constants Show documentation
Show all versions of jnr-constants Show documentation
A set of platform constants (e.g. errno values)
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated Tue Feb 24 09:44:05 +1000 2009
package com.kenai.constantine.platform.linux;
public enum IPProto implements com.kenai.constantine.Constant {
IPPROTO_IP(0),
IPPROTO_HOPOPTS(0),
IPPROTO_ICMP(1),
IPPROTO_IGMP(2),
IPPROTO_IPIP(4),
IPPROTO_TCP(6),
IPPROTO_EGP(8),
IPPROTO_PUP(12),
IPPROTO_UDP(17),
IPPROTO_IDP(22),
IPPROTO_TP(29),
IPPROTO_IPV6(41),
IPPROTO_ROUTING(43),
IPPROTO_FRAGMENT(44),
IPPROTO_RSVP(46),
IPPROTO_GRE(47),
IPPROTO_ESP(50),
IPPROTO_AH(51),
IPPROTO_ICMPV6(58),
IPPROTO_NONE(59),
IPPROTO_DSTOPTS(60),
IPPROTO_MTP(92),
IPPROTO_ENCAP(98),
IPPROTO_PIM(103),
IPPROTO_COMP(108),
IPPROTO_SCTP(132),
IPPROTO_RAW(255);
// IPPROTO_MAX not defined
private final int value;
private IPProto(int value) { this.value = value; }
public static final long MIN_VALUE = 0;
public static final long MAX_VALUE = 255;
public final int value() { return value; }
}