Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update s390x #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2021-06-03 02:36:56 +0000
// Generated 2023-11-06 16:55:33 +0000
package jnr.constants.platform.linux.s390x;
public enum AddressFamily implements jnr.constants.Constant {
AF_UNSPEC(0L),
Expand Down Expand Up @@ -43,11 +43,25 @@ public enum AddressFamily implements jnr.constants.Constant {
// pseudo_AF_HDRCMPLT not defined
// AF_NETGRAPH not defined
AF_AX25(3L),
AF_MAX(44L);
AF_KEY(15L),
AF_NETLINK(16L),
AF_RDS(21L),
AF_PPPOX(24L),
AF_LLC(26L),
AF_IB(27L),
AF_MPLS(28L),
AF_CAN(29L),
AF_TIPC(30L),
AF_BLUETOOTH(31L),
AF_ALG(38L),
AF_VSOCK(40L),
AF_KCM(41L),
AF_XDP(44L),
AF_MAX(46L);
private final long value;
private AddressFamily(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 44L;
public static final long MAX_VALUE = 46L;

static final class StringTable {
public static final java.util.Map<AddressFamily, String> descriptions = generateTable();
Expand All @@ -65,6 +79,20 @@ public static final java.util.Map<AddressFamily, String> generateTable() {
map.put(AF_ISDN, "AF_ISDN");
map.put(AF_INET6, "AF_INET6");
map.put(AF_AX25, "AF_AX25");
map.put(AF_KEY, "AF_KEY");
map.put(AF_NETLINK, "AF_NETLINK");
map.put(AF_RDS, "AF_RDS");
map.put(AF_PPPOX, "AF_PPPOX");
map.put(AF_LLC, "AF_LLC");
map.put(AF_IB, "AF_IB");
map.put(AF_MPLS, "AF_MPLS");
map.put(AF_CAN, "AF_CAN");
map.put(AF_TIPC, "AF_TIPC");
map.put(AF_BLUETOOTH, "AF_BLUETOOTH");
map.put(AF_ALG, "AF_ALG");
map.put(AF_VSOCK, "AF_VSOCK");
map.put(AF_KCM, "AF_KCM");
map.put(AF_XDP, "AF_XDP");
map.put(AF_MAX, "AF_MAX");
return map;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2021-06-03 02:36:57 +0000
// Generated 2023-11-06 16:55:50 +0000
package jnr.constants.platform.linux.s390x;
public enum ProtocolFamily implements jnr.constants.Constant {
PF_UNSPEC(0L),
Expand Down Expand Up @@ -40,11 +40,24 @@ public enum ProtocolFamily implements jnr.constants.Constant {
// PF_PPP not defined
// PF_ATM not defined
// PF_NETGRAPH not defined
PF_MAX(44L);
PF_NETLINK(16L),
PF_RDS(21L),
PF_PPPOX(24L),
PF_LLC(26L),
PF_IB(27L),
PF_MPLS(28L),
PF_CAN(29L),
PF_TIPC(30L),
PF_BLUETOOTH(31L),
PF_ALG(38L),
PF_VSOCK(40L),
PF_KCM(41L),
PF_XDP(44L),
PF_MAX(46L);
private final long value;
private ProtocolFamily(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 44L;
public static final long MAX_VALUE = 46L;

static final class StringTable {
public static final java.util.Map<ProtocolFamily, String> descriptions = generateTable();
Expand All @@ -62,6 +75,19 @@ public static final java.util.Map<ProtocolFamily, String> generateTable() {
map.put(PF_ISDN, "PF_ISDN");
map.put(PF_KEY, "PF_KEY");
map.put(PF_INET6, "PF_INET6");
map.put(PF_NETLINK, "PF_NETLINK");
map.put(PF_RDS, "PF_RDS");
map.put(PF_PPPOX, "PF_PPPOX");
map.put(PF_LLC, "PF_LLC");
map.put(PF_IB, "PF_IB");
map.put(PF_MPLS, "PF_MPLS");
map.put(PF_CAN, "PF_CAN");
map.put(PF_TIPC, "PF_TIPC");
map.put(PF_BLUETOOTH, "PF_BLUETOOTH");
map.put(PF_ALG, "PF_ALG");
map.put(PF_VSOCK, "PF_VSOCK");
map.put(PF_KCM, "PF_KCM");
map.put(PF_XDP, "PF_XDP");
map.put(PF_MAX, "PF_MAX");
return map;
}
Expand Down
10 changes: 7 additions & 3 deletions src/main/java/jnr/constants/platform/linux/s390x/Sock.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2021-06-03 02:36:56 +0000
// Generated 2023-11-06 16:55:54 +0000
package jnr.constants.platform.linux.s390x;
public enum Sock implements jnr.constants.Constant {
SOCK_STREAM(1L),
SOCK_DGRAM(2L),
SOCK_RAW(3L),
SOCK_RDM(4L),
SOCK_SEQPACKET(5L);
SOCK_SEQPACKET(5L),
SOCK_NONBLOCK(2048L),
SOCK_CLOEXEC(524288L);
// SOCK_MAXADDRLEN not defined
private final long value;
private Sock(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 5L;
public static final long MAX_VALUE = 524288L;

static final class StringTable {
public static final java.util.Map<Sock, String> descriptions = generateTable();
Expand All @@ -22,6 +24,8 @@ public static final java.util.Map<Sock, String> generateTable() {
map.put(SOCK_RAW, "SOCK_RAW");
map.put(SOCK_RDM, "SOCK_RDM");
map.put(SOCK_SEQPACKET, "SOCK_SEQPACKET");
map.put(SOCK_NONBLOCK, "SOCK_NONBLOCK");
map.put(SOCK_CLOEXEC, "SOCK_CLOEXEC");
return map;
}
}
Expand Down
45 changes: 43 additions & 2 deletions src/main/java/jnr/constants/platform/linux/s390x/SocketOption.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2021-06-03 02:36:57 +0000
// Generated 2023-11-06 16:55:57 +0000
package jnr.constants.platform.linux.s390x;
public enum SocketOption implements jnr.constants.Constant {
SO_DEBUG(0x1L),
Expand Down Expand Up @@ -41,13 +41,35 @@ public enum SocketOption implements jnr.constants.Constant {
SO_PEERCRED(0x11L),
SO_PEERNAME(0x1cL),
SO_PRIORITY(0xcL),
SO_SNDBUFFORCE(0x20L),
SO_RCVBUFFORCE(0x21L),
SO_GET_FILTER(0x1aL),
SO_TIMESTAMPNS(0x23L),
// SO_RECVUCRED not defined
// SO_MAC_EXEMPT not defined
// SO_ALLZONES not defined
SO_PEERSEC(0x1fL),
SO_PASSSEC(0x22L),
SO_MARK(0x24L),
SO_TIMESTAMPING(0x25L),
SO_PROTOCOL(0x26L),
SO_DOMAIN(0x27L),
SO_RXQ_OVFL(0x28L),
SO_WIFI_STATUS(0x29L),
SO_PEEK_OFF(0x2aL),
SO_NOFCS(0x2bL),
SO_LOCK_FILTER(0x2cL),
SO_SELECT_ERR_QUEUE(0x2dL),
SO_BUSY_POLL(0x2eL),
SO_MAX_PACING_RATE(0x2fL),
SO_BPF_EXTENSIONS(0x30L),
SO_SECURITY_AUTHENTICATION(0x16L),
SO_SECURITY_ENCRYPTION_NETWORK(0x18L),
SO_SECURITY_ENCRYPTION_TRANSPORT(0x17L);
private final long value;
private SocketOption(long value) { this.value = value; }
public static final long MIN_VALUE = 0x1L;
public static final long MAX_VALUE = 0x1eL;
public static final long MAX_VALUE = 0x30L;

static final class StringTable {
public static final java.util.Map<SocketOption, String> descriptions = generateTable();
Expand Down Expand Up @@ -79,6 +101,25 @@ public static final java.util.Map<SocketOption, String> generateTable() {
map.put(SO_PEERCRED, "SO_PEERCRED");
map.put(SO_PEERNAME, "SO_PEERNAME");
map.put(SO_PRIORITY, "SO_PRIORITY");
map.put(SO_SNDBUFFORCE, "SO_SNDBUFFORCE");
map.put(SO_RCVBUFFORCE, "SO_RCVBUFFORCE");
map.put(SO_GET_FILTER, "SO_GET_FILTER");
map.put(SO_TIMESTAMPNS, "SO_TIMESTAMPNS");
map.put(SO_PEERSEC, "SO_PEERSEC");
map.put(SO_PASSSEC, "SO_PASSSEC");
map.put(SO_MARK, "SO_MARK");
map.put(SO_TIMESTAMPING, "SO_TIMESTAMPING");
map.put(SO_PROTOCOL, "SO_PROTOCOL");
map.put(SO_DOMAIN, "SO_DOMAIN");
map.put(SO_RXQ_OVFL, "SO_RXQ_OVFL");
map.put(SO_WIFI_STATUS, "SO_WIFI_STATUS");
map.put(SO_PEEK_OFF, "SO_PEEK_OFF");
map.put(SO_NOFCS, "SO_NOFCS");
map.put(SO_LOCK_FILTER, "SO_LOCK_FILTER");
map.put(SO_SELECT_ERR_QUEUE, "SO_SELECT_ERR_QUEUE");
map.put(SO_BUSY_POLL, "SO_BUSY_POLL");
map.put(SO_MAX_PACING_RATE, "SO_MAX_PACING_RATE");
map.put(SO_BPF_EXTENSIONS, "SO_BPF_EXTENSIONS");
map.put(SO_SECURITY_AUTHENTICATION, "SO_SECURITY_AUTHENTICATION");
map.put(SO_SECURITY_ENCRYPTION_NETWORK, "SO_SECURITY_ENCRYPTION_NETWORK");
map.put(SO_SECURITY_ENCRYPTION_TRANSPORT, "SO_SECURITY_ENCRYPTION_TRANSPORT");
Expand Down
94 changes: 94 additions & 0 deletions src/main/java/jnr/constants/platform/linux/s390x/Syslog.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2023-11-06 16:55:59 +0000
package jnr.constants.platform.linux.s390x;
public enum Syslog implements jnr.constants.Constant {
LOG_ALERT(1L),
LOG_AUTH(32L),
LOG_AUTHPRIV(80L),
LOG_CONS(2L),
// LOG_CONSOLE not defined
LOG_CRIT(2L),
LOG_CRON(72L),
LOG_DAEMON(24L),
LOG_DEBUG(7L),
LOG_EMERG(0L),
LOG_ERR(3L),
LOG_FTP(88L),
LOG_INFO(6L),
LOG_KERN(0L),
LOG_LOCAL0(128L),
LOG_LOCAL1(136L),
LOG_LOCAL2(144L),
LOG_LOCAL3(152L),
LOG_LOCAL4(160L),
LOG_LOCAL5(168L),
LOG_LOCAL6(176L),
LOG_LOCAL7(184L),
LOG_LPR(48L),
LOG_MAIL(16L),
LOG_NDELAY(8L),
LOG_NEWS(56L),
LOG_NOTICE(5L),
LOG_NOWAIT(16L),
// LOG_NTP not defined
LOG_ODELAY(4L),
LOG_PERROR(32L),
LOG_PID(1L),
// LOG_SECURITY not defined
LOG_SYSLOG(40L),
LOG_USER(8L),
LOG_UUCP(64L),
LOG_WARNING(4L);
private final long value;
private Syslog(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 184L;

static final class StringTable {
public static final java.util.Map<Syslog, String> descriptions = generateTable();
public static final java.util.Map<Syslog, String> generateTable() {
java.util.Map<Syslog, String> map = new java.util.EnumMap<Syslog, String>(Syslog.class);
map.put(LOG_ALERT, "LOG_ALERT");
map.put(LOG_AUTH, "LOG_AUTH");
map.put(LOG_AUTHPRIV, "LOG_AUTHPRIV");
map.put(LOG_CONS, "LOG_CONS");
map.put(LOG_CRIT, "LOG_CRIT");
map.put(LOG_CRON, "LOG_CRON");
map.put(LOG_DAEMON, "LOG_DAEMON");
map.put(LOG_DEBUG, "LOG_DEBUG");
map.put(LOG_EMERG, "LOG_EMERG");
map.put(LOG_ERR, "LOG_ERR");
map.put(LOG_FTP, "LOG_FTP");
map.put(LOG_INFO, "LOG_INFO");
map.put(LOG_KERN, "LOG_KERN");
map.put(LOG_LOCAL0, "LOG_LOCAL0");
map.put(LOG_LOCAL1, "LOG_LOCAL1");
map.put(LOG_LOCAL2, "LOG_LOCAL2");
map.put(LOG_LOCAL3, "LOG_LOCAL3");
map.put(LOG_LOCAL4, "LOG_LOCAL4");
map.put(LOG_LOCAL5, "LOG_LOCAL5");
map.put(LOG_LOCAL6, "LOG_LOCAL6");
map.put(LOG_LOCAL7, "LOG_LOCAL7");
map.put(LOG_LPR, "LOG_LPR");
map.put(LOG_MAIL, "LOG_MAIL");
map.put(LOG_NDELAY, "LOG_NDELAY");
map.put(LOG_NEWS, "LOG_NEWS");
map.put(LOG_NOTICE, "LOG_NOTICE");
map.put(LOG_NOWAIT, "LOG_NOWAIT");
map.put(LOG_ODELAY, "LOG_ODELAY");
map.put(LOG_PERROR, "LOG_PERROR");
map.put(LOG_PID, "LOG_PID");
map.put(LOG_SYSLOG, "LOG_SYSLOG");
map.put(LOG_USER, "LOG_USER");
map.put(LOG_UUCP, "LOG_UUCP");
map.put(LOG_WARNING, "LOG_WARNING");
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; }
}

Loading