jnr.constants.platform.dragonflybsd.IP 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 2020-09-02 23:21:11 +0000
package jnr.constants.platform.dragonflybsd;
public enum IP implements jnr.constants.Constant {
IP_OPTIONS(1L),
IP_HDRINCL(2L),
IP_TOS(3L),
IP_TTL(4L),
IP_RECVOPTS(5L),
IP_RECVRETOPTS(6L),
IP_RECVDSTADDR(7L),
IP_RETOPTS(8L),
IP_MINTTL(66L),
// IP_DONTFRAG not defined
// IP_SENDSRCADDR not defined
// IP_ONESBCAST not defined
IP_RECVTTL(65L),
IP_RECVIF(20L),
// IP_RECVSLLA not defined
IP_PORTRANGE(19L),
IP_MULTICAST_IF(9L),
IP_MULTICAST_TTL(10L),
IP_MULTICAST_LOOP(11L),
IP_ADD_MEMBERSHIP(12L),
IP_DROP_MEMBERSHIP(13L),
IP_DEFAULT_MULTICAST_TTL(1L),
IP_DEFAULT_MULTICAST_LOOP(1L),
IP_MAX_MEMBERSHIPS(20L);
// IP_ROUTER_ALERT not defined
// IP_PKTINFO not defined
// IP_PKTOPTIONS not defined
// IP_MTU_DISCOVER not defined
// IP_RECVERR not defined
// IP_RECVTOS not defined
// IP_MTU not defined
// IP_FREEBIND not defined
// IP_IPSEC_POLICY not defined
// IP_XFRM_POLICY not defined
// IP_PASSSEC not defined
// IP_TRANSPARENT not defined
// IP_PMTUDISC_DONT not defined
// IP_PMTUDISC_WANT not defined
// IP_PMTUDISC_DO not defined
// IP_UNBLOCK_SOURCE not defined
// IP_BLOCK_SOURCE not defined
// IP_ADD_SOURCE_MEMBERSHIP not defined
// IP_DROP_SOURCE_MEMBERSHIP not defined
// IP_MSFILTER not defined
private final long value;
private IP(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 66L;
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(IP.class);
map.put(IP_OPTIONS, "IP_OPTIONS");
map.put(IP_HDRINCL, "IP_HDRINCL");
map.put(IP_TOS, "IP_TOS");
map.put(IP_TTL, "IP_TTL");
map.put(IP_RECVOPTS, "IP_RECVOPTS");
map.put(IP_RECVRETOPTS, "IP_RECVRETOPTS");
map.put(IP_RECVDSTADDR, "IP_RECVDSTADDR");
map.put(IP_RETOPTS, "IP_RETOPTS");
map.put(IP_MINTTL, "IP_MINTTL");
map.put(IP_RECVTTL, "IP_RECVTTL");
map.put(IP_RECVIF, "IP_RECVIF");
map.put(IP_PORTRANGE, "IP_PORTRANGE");
map.put(IP_MULTICAST_IF, "IP_MULTICAST_IF");
map.put(IP_MULTICAST_TTL, "IP_MULTICAST_TTL");
map.put(IP_MULTICAST_LOOP, "IP_MULTICAST_LOOP");
map.put(IP_ADD_MEMBERSHIP, "IP_ADD_MEMBERSHIP");
map.put(IP_DROP_MEMBERSHIP, "IP_DROP_MEMBERSHIP");
map.put(IP_DEFAULT_MULTICAST_TTL, "IP_DEFAULT_MULTICAST_TTL");
map.put(IP_DEFAULT_MULTICAST_LOOP, "IP_DEFAULT_MULTICAST_LOOP");
map.put(IP_MAX_MEMBERSHIPS, "IP_MAX_MEMBERSHIPS");
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 - 2025 Weber Informatics LLC | Privacy Policy