jnr.constants.platform.solaris.ProtocolFamily 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 2018-09-20 19:13:08 +0200
package jnr.constants.platform.solaris;
public enum ProtocolFamily implements jnr.constants.Constant {
PF_UNSPEC(0L),
PF_LOCAL(1L),
PF_UNIX(1L),
PF_INET(2L),
PF_IMPLINK(3L),
PF_PUP(4L),
PF_CHAOS(5L),
PF_NS(6L),
// PF_ISO not defined
PF_OSI(19L),
PF_ECMA(8L),
PF_DATAKIT(9L),
PF_CCITT(10L),
PF_SNA(11L),
PF_DECnet(12L),
PF_DLI(13L),
PF_LAT(14L),
PF_HYLINK(15L),
PF_APPLETALK(16L),
PF_ROUTE(24L),
PF_LINK(25L),
// PF_XTP not defined
// PF_COIP not defined
// PF_CNT not defined
// PF_SIP not defined
PF_IPX(23L),
// PF_RTIP not defined
// PF_PIP not defined
// PF_NDRV not defined
// PF_ISDN not defined
PF_KEY(27L),
PF_INET6(26L),
// PF_NATM not defined
// PF_SYSTEM not defined
// PF_NETBIOS not defined
// PF_PPP not defined
// PF_ATM not defined
// PF_NETGRAPH not defined
PF_MAX(34L);
private final long value;
private ProtocolFamily(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 34L;
static final class StringTable {
public static final java.util.Map descriptions = generateTable();
public static final java.util.Map generateTable() {
java.util.Map map = new java.util.EnumMap(ProtocolFamily.class);
map.put(PF_UNSPEC, "PF_UNSPEC");
map.put(PF_LOCAL, "PF_LOCAL");
map.put(PF_UNIX, "PF_UNIX");
map.put(PF_INET, "PF_INET");
map.put(PF_IMPLINK, "PF_IMPLINK");
map.put(PF_PUP, "PF_PUP");
map.put(PF_CHAOS, "PF_CHAOS");
map.put(PF_NS, "PF_NS");
map.put(PF_OSI, "PF_OSI");
map.put(PF_ECMA, "PF_ECMA");
map.put(PF_DATAKIT, "PF_DATAKIT");
map.put(PF_CCITT, "PF_CCITT");
map.put(PF_SNA, "PF_SNA");
map.put(PF_DECnet, "PF_DECnet");
map.put(PF_DLI, "PF_DLI");
map.put(PF_LAT, "PF_LAT");
map.put(PF_HYLINK, "PF_HYLINK");
map.put(PF_APPLETALK, "PF_APPLETALK");
map.put(PF_ROUTE, "PF_ROUTE");
map.put(PF_LINK, "PF_LINK");
map.put(PF_IPX, "PF_IPX");
map.put(PF_KEY, "PF_KEY");
map.put(PF_INET6, "PF_INET6");
map.put(PF_MAX, "PF_MAX");
return map;
}
}
public final String toString() { return StringTable.descriptions.get(this); }
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; }
}