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

jnr.constants.platform.freebsd.AddressFamily 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 19:22:07 +0000
package jnr.constants.platform.freebsd;
public enum AddressFamily implements jnr.constants.Constant {
AF_UNSPEC(0L),
AF_LOCAL(1L),
AF_UNIX(1L),
AF_INET(2L),
AF_IMPLINK(3L),
AF_PUP(4L),
AF_CHAOS(5L),
// AF_NS not defined
AF_ISO(7L),
AF_OSI(7L),
AF_ECMA(8L),
AF_DATAKIT(9L),
AF_CCITT(10L),
AF_SNA(11L),
AF_DECnet(12L),
AF_DLI(13L),
AF_LAT(14L),
AF_HYLINK(15L),
AF_APPLETALK(16L),
AF_ROUTE(17L),
AF_LINK(18L),
pseudo_AF_XTP(19L),
AF_COIP(20L),
AF_CNT(21L),
pseudo_AF_RTIP(22L),
AF_IPX(23L),
AF_SIP(24L),
pseudo_AF_PIP(25L),
// AF_NDRV not defined
AF_ISDN(26L),
AF_E164(26L),
pseudo_AF_KEY(27L),
AF_INET6(28L),
AF_NATM(29L),
// AF_SYSTEM not defined
AF_NETBIOS(6L),
// AF_PPP not defined
AF_ATM(30L),
pseudo_AF_HDRCMPLT(31L),
AF_NETGRAPH(32L),
// AF_AX25 not defined
AF_MAX(42L);
private final long value;
private AddressFamily(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 42L;

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(AddressFamily.class);
  map.put(AF_UNSPEC, "AF_UNSPEC");
  map.put(AF_LOCAL, "AF_LOCAL");
  map.put(AF_UNIX, "AF_UNIX");
  map.put(AF_INET, "AF_INET");
  map.put(AF_IMPLINK, "AF_IMPLINK");
  map.put(AF_PUP, "AF_PUP");
  map.put(AF_CHAOS, "AF_CHAOS");
  map.put(AF_ISO, "AF_ISO");
  map.put(AF_OSI, "AF_OSI");
  map.put(AF_ECMA, "AF_ECMA");
  map.put(AF_DATAKIT, "AF_DATAKIT");
  map.put(AF_CCITT, "AF_CCITT");
  map.put(AF_SNA, "AF_SNA");
  map.put(AF_DECnet, "AF_DECnet");
  map.put(AF_DLI, "AF_DLI");
  map.put(AF_LAT, "AF_LAT");
  map.put(AF_HYLINK, "AF_HYLINK");
  map.put(AF_APPLETALK, "AF_APPLETALK");
  map.put(AF_ROUTE, "AF_ROUTE");
  map.put(AF_LINK, "AF_LINK");
  map.put(pseudo_AF_XTP, "pseudo_AF_XTP");
  map.put(AF_COIP, "AF_COIP");
  map.put(AF_CNT, "AF_CNT");
  map.put(pseudo_AF_RTIP, "pseudo_AF_RTIP");
  map.put(AF_IPX, "AF_IPX");
  map.put(AF_SIP, "AF_SIP");
  map.put(pseudo_AF_PIP, "pseudo_AF_PIP");
  map.put(AF_ISDN, "AF_ISDN");
  map.put(AF_E164, "AF_E164");
  map.put(pseudo_AF_KEY, "pseudo_AF_KEY");
  map.put(AF_INET6, "AF_INET6");
  map.put(AF_NATM, "AF_NATM");
  map.put(AF_NETBIOS, "AF_NETBIOS");
  map.put(AF_ATM, "AF_ATM");
  map.put(pseudo_AF_HDRCMPLT, "pseudo_AF_HDRCMPLT");
  map.put(AF_NETGRAPH, "AF_NETGRAPH");
  map.put(AF_MAX, "AF_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; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy