jnr.constants.platform.linux.loongarch64.InterfaceInfo 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-06-03 11:07:36 +0800
package jnr.constants.platform.linux.loongarch64;
public enum InterfaceInfo implements jnr.constants.Constant {
IFF_ALLMULTI(512L),
// IFF_802_1Q_VLAN not defined
// IFF_ALTPHYS not defined
IFF_AUTOMEDIA(16384L),
// IFF_BONDING not defined
// IFF_BRIDGE_PORT not defined
IFF_BROADCAST(2L),
// IFF_CANTCONFIG not defined
IFF_DEBUG(4L),
// IFF_DISABLE_NETPOLL not defined
// IFF_DONT_BRIDGE not defined
// IFF_DORMANT not defined
// IFF_DRV_OACTIVE not defined
// IFF_DRV_RUNNING not defined
// IFF_DYING not defined
IFF_DYNAMIC(32768L),
// IFF_EBRIDGE not defined
// IFF_ECHO not defined
// IFF_ISATAP not defined
// IFF_LINK0 not defined
// IFF_LINK1 not defined
// IFF_LINK2 not defined
// IFF_LIVE_ADDR_CHANGE not defined
IFF_LOOPBACK(8L),
// IFF_LOWER_UP not defined
// IFF_MACVLAN_PORT not defined
IFF_MASTER(1024L),
// IFF_MASTER_8023AD not defined
// IFF_MASTER_ALB not defined
// IFF_MASTER_ARPMON not defined
// IFF_MONITOR not defined
IFF_MULTICAST(4096L),
IFF_NOARP(128L),
IFF_NOTRAILERS(32L),
// IFF_OACTIVE not defined
// IFF_OVS_DATAPATH not defined
IFF_POINTOPOINT(16L),
IFF_PORTSEL(8192L),
// IFF_PPROMISC not defined
IFF_PROMISC(256L),
// IFF_RENAMING not defined
// IFF_ROUTE not defined
IFF_RUNNING(64L),
// IFF_SIMPLEX not defined
IFF_SLAVE(2048L),
// IFF_SLAVE_INACTIVE not defined
// IFF_SLAVE_NEEDARP not defined
// IFF_SMART not defined
// IFF_STATICARP not defined
// IFF_SUPP_NOFCS not defined
// IFF_TEAM_PORT not defined
// IFF_TX_SKB_SHARING not defined
// IFF_UNICAST_FLT not defined
IFF_UP(1L);
// IFF_WAN_HDLC not defined
// IFF_XMIT_DST_RELEASE not defined
// IFF_VOLATILE not defined
// IFF_CANTCHANGE not defined
private final long value;
private InterfaceInfo(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 32768L;
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(InterfaceInfo.class);
map.put(IFF_ALLMULTI, "IFF_ALLMULTI");
map.put(IFF_AUTOMEDIA, "IFF_AUTOMEDIA");
map.put(IFF_BROADCAST, "IFF_BROADCAST");
map.put(IFF_DEBUG, "IFF_DEBUG");
map.put(IFF_DYNAMIC, "IFF_DYNAMIC");
map.put(IFF_LOOPBACK, "IFF_LOOPBACK");
map.put(IFF_MASTER, "IFF_MASTER");
map.put(IFF_MULTICAST, "IFF_MULTICAST");
map.put(IFF_NOARP, "IFF_NOARP");
map.put(IFF_NOTRAILERS, "IFF_NOTRAILERS");
map.put(IFF_POINTOPOINT, "IFF_POINTOPOINT");
map.put(IFF_PORTSEL, "IFF_PORTSEL");
map.put(IFF_PROMISC, "IFF_PROMISC");
map.put(IFF_RUNNING, "IFF_RUNNING");
map.put(IFF_SLAVE, "IFF_SLAVE");
map.put(IFF_UP, "IFF_UP");
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