jnr.constants.platform.windows.SocketOption 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 2021-10-12 23:01:40 +0200
package jnr.constants.platform.windows;
public enum SocketOption implements jnr.constants.Constant {
SO_DEBUG(0x1L),
SO_ACCEPTCONN(0x2L),
SO_REUSEADDR(0x4L),
SO_KEEPALIVE(0x8L),
SO_DONTROUTE(0x10L),
SO_BROADCAST(0x20L),
SO_USELOOPBACK(0x40L),
SO_LINGER(0x80L),
SO_OOBINLINE(0x100L),
// SO_REUSEPORT not defined
// SO_TIMESTAMP not defined
// SO_ACCEPTFILTER not defined
// SO_DONTTRUNC not defined
// SO_WANTMORE not defined
// SO_WANTOOBFLAG not defined
SO_SNDBUF(0x1001L),
SO_RCVBUF(0x1002L),
SO_SNDLOWAT(0x1003L),
SO_RCVLOWAT(0x1004L),
SO_SNDTIMEO(0x1005L),
SO_RCVTIMEO(0x1006L),
SO_ERROR(0x1007L),
SO_TYPE(0x1008L);
// SO_NREAD not defined
// SO_NKE not defined
// SO_NOSIGPIPE not defined
// SO_NOADDRERR not defined
// SO_NWRITE not defined
// SO_REUSESHAREUID not defined
// SO_LABEL not defined
// SO_PEERLABEL not defined
// SO_ATTACH_FILTER not defined
// SO_BINDTODEVICE not defined
// SO_DETACH_FILTER not defined
// SO_NO_CHECK not defined
// SO_PASSCRED not defined
// SO_PEERCRED not defined
// SO_PEERNAME not defined
// SO_PRIORITY not defined
// SO_SNDBUFFORCE not defined
// SO_RCVBUFFORCE not defined
// SO_GET_FILTER not defined
// SO_TIMESTAMPNS not defined
// SO_RECVUCRED not defined
// SO_MAC_EXEMPT not defined
// SO_ALLZONES not defined
// SO_PEERSEC not defined
// SO_PASSSEC not defined
// SO_MARK not defined
// SO_TIMESTAMPING not defined
// SO_PROTOCOL not defined
// SO_DOMAIN not defined
// SO_RXQ_OVFL not defined
// SO_WIFI_STATUS not defined
// SO_PEEK_OFF not defined
// SO_NOFCS not defined
// SO_LOCK_FILTER not defined
// SO_SELECT_ERR_QUEUE not defined
// SO_BUSY_POLL not defined
// SO_MAX_PACING_RATE not defined
// SO_BPF_EXTENSIONS not defined
// SO_SECURITY_AUTHENTICATION not defined
// SO_SECURITY_ENCRYPTION_NETWORK not defined
// SO_SECURITY_ENCRYPTION_TRANSPORT not defined
private final long value;
private SocketOption(long value) { this.value = value; }
public static final long MIN_VALUE = 0x1L;
public static final long MAX_VALUE = 0x1008L;
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(SocketOption.class);
map.put(SO_DEBUG, "SO_DEBUG");
map.put(SO_ACCEPTCONN, "SO_ACCEPTCONN");
map.put(SO_REUSEADDR, "SO_REUSEADDR");
map.put(SO_KEEPALIVE, "SO_KEEPALIVE");
map.put(SO_DONTROUTE, "SO_DONTROUTE");
map.put(SO_BROADCAST, "SO_BROADCAST");
map.put(SO_USELOOPBACK, "SO_USELOOPBACK");
map.put(SO_LINGER, "SO_LINGER");
map.put(SO_OOBINLINE, "SO_OOBINLINE");
map.put(SO_SNDBUF, "SO_SNDBUF");
map.put(SO_RCVBUF, "SO_RCVBUF");
map.put(SO_SNDLOWAT, "SO_SNDLOWAT");
map.put(SO_RCVLOWAT, "SO_RCVLOWAT");
map.put(SO_SNDTIMEO, "SO_SNDTIMEO");
map.put(SO_RCVTIMEO, "SO_RCVTIMEO");
map.put(SO_ERROR, "SO_ERROR");
map.put(SO_TYPE, "SO_TYPE");
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