| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2021-10-08 17:37:36 +0200 |
| 3 |
package jnr.constants.platform.freebsd.aarch64; |
| 4 |
public enum InterfaceInfo implements jnr.constants.Constant { |
| 5 |
IFF_ALLMULTI(512L), |
| 6 |
// IFF_802_1Q_VLAN not defined |
| 7 |
IFF_ALTPHYS(16384L), |
| 8 |
// IFF_AUTOMEDIA not defined |
| 9 |
// IFF_BONDING not defined |
| 10 |
// IFF_BRIDGE_PORT not defined |
| 11 |
IFF_BROADCAST(2L), |
| 12 |
IFF_CANTCONFIG(65536L), |
| 13 |
IFF_DEBUG(4L), |
| 14 |
// IFF_DISABLE_NETPOLL not defined |
| 15 |
// IFF_DONT_BRIDGE not defined |
| 16 |
// IFF_DORMANT not defined |
| 17 |
IFF_DRV_OACTIVE(1024L), |
| 18 |
IFF_DRV_RUNNING(64L), |
| 19 |
IFF_DYING(2097152L), |
| 20 |
// IFF_DYNAMIC not defined |
| 21 |
// IFF_EBRIDGE not defined |
| 22 |
// IFF_ECHO not defined |
| 23 |
// IFF_ISATAP not defined |
| 24 |
IFF_LINK0(4096L), |
| 25 |
IFF_LINK1(8192L), |
| 26 |
IFF_LINK2(16384L), |
| 27 |
// IFF_LIVE_ADDR_CHANGE not defined |
| 28 |
IFF_LOOPBACK(8L), |
| 29 |
// IFF_LOWER_UP not defined |
| 30 |
// IFF_MACVLAN_PORT not defined |
| 31 |
// IFF_MASTER not defined |
| 32 |
// IFF_MASTER_8023AD not defined |
| 33 |
// IFF_MASTER_ALB not defined |
| 34 |
// IFF_MASTER_ARPMON not defined |
| 35 |
IFF_MONITOR(262144L), |
| 36 |
IFF_MULTICAST(32768L), |
| 37 |
IFF_NOARP(128L), |
| 38 |
// IFF_NOTRAILERS not defined |
| 39 |
IFF_OACTIVE(1024L), |
| 40 |
// IFF_OVS_DATAPATH not defined |
| 41 |
IFF_POINTOPOINT(16L), |
| 42 |
// IFF_PORTSEL not defined |
| 43 |
IFF_PPROMISC(131072L), |
| 44 |
IFF_PROMISC(256L), |
| 45 |
IFF_RENAMING(4194304L), |
| 46 |
// IFF_ROUTE not defined |
| 47 |
IFF_RUNNING(64L), |
| 48 |
IFF_SIMPLEX(2048L), |
| 49 |
// IFF_SLAVE not defined |
| 50 |
// IFF_SLAVE_INACTIVE not defined |
| 51 |
// IFF_SLAVE_NEEDARP not defined |
| 52 |
// IFF_SMART not defined |
| 53 |
IFF_STATICARP(524288L), |
| 54 |
// IFF_SUPP_NOFCS not defined |
| 55 |
// IFF_TEAM_PORT not defined |
| 56 |
// IFF_TX_SKB_SHARING not defined |
| 57 |
// IFF_UNICAST_FLT not defined |
| 58 |
IFF_UP(1L), |
| 59 |
// IFF_WAN_HDLC not defined |
| 60 |
// IFF_XMIT_DST_RELEASE not defined |
| 61 |
// IFF_VOLATILE not defined |
| 62 |
IFF_CANTCHANGE(2199410L); |
| 63 |
private final long value; |
| 64 |
private InterfaceInfo(long value) { this.value = value; } |
| 65 |
public static final long MIN_VALUE = 1L; |
| 66 |
public static final long MAX_VALUE = 4194304L; |
| 67 |
|
| 68 |
static final class StringTable { |
| 69 |
public static final java.util.Map<InterfaceInfo, String> descriptions = generateTable(); |
| 70 |
public static final java.util.Map<InterfaceInfo, String> generateTable() { |
| 71 |
java.util.Map<InterfaceInfo, String> map = new java.util.EnumMap<InterfaceInfo, String>(InterfaceInfo.class); |
| 72 |
map.put(IFF_ALLMULTI, "IFF_ALLMULTI"); |
| 73 |
map.put(IFF_ALTPHYS, "IFF_ALTPHYS"); |
| 74 |
map.put(IFF_BROADCAST, "IFF_BROADCAST"); |
| 75 |
map.put(IFF_CANTCONFIG, "IFF_CANTCONFIG"); |
| 76 |
map.put(IFF_DEBUG, "IFF_DEBUG"); |
| 77 |
map.put(IFF_DRV_OACTIVE, "IFF_DRV_OACTIVE"); |
| 78 |
map.put(IFF_DRV_RUNNING, "IFF_DRV_RUNNING"); |
| 79 |
map.put(IFF_DYING, "IFF_DYING"); |
| 80 |
map.put(IFF_LINK0, "IFF_LINK0"); |
| 81 |
map.put(IFF_LINK1, "IFF_LINK1"); |
| 82 |
map.put(IFF_LINK2, "IFF_LINK2"); |
| 83 |
map.put(IFF_LOOPBACK, "IFF_LOOPBACK"); |
| 84 |
map.put(IFF_MONITOR, "IFF_MONITOR"); |
| 85 |
map.put(IFF_MULTICAST, "IFF_MULTICAST"); |
| 86 |
map.put(IFF_NOARP, "IFF_NOARP"); |
| 87 |
map.put(IFF_OACTIVE, "IFF_OACTIVE"); |
| 88 |
map.put(IFF_POINTOPOINT, "IFF_POINTOPOINT"); |
| 89 |
map.put(IFF_PPROMISC, "IFF_PPROMISC"); |
| 90 |
map.put(IFF_PROMISC, "IFF_PROMISC"); |
| 91 |
map.put(IFF_RENAMING, "IFF_RENAMING"); |
| 92 |
map.put(IFF_RUNNING, "IFF_RUNNING"); |
| 93 |
map.put(IFF_SIMPLEX, "IFF_SIMPLEX"); |
| 94 |
map.put(IFF_STATICARP, "IFF_STATICARP"); |
| 95 |
map.put(IFF_UP, "IFF_UP"); |
| 96 |
map.put(IFF_CANTCHANGE, "IFF_CANTCHANGE"); |
| 97 |
return map; |
| 98 |
} |
| 99 |
} |
| 100 |
public final String toString() { return StringTable.descriptions.get(this); } |
| 101 |
public final int value() { return (int) value; } |
| 102 |
public final int intValue() { return (int) value; } |
| 103 |
public final long longValue() { return value; } |
| 104 |
public final boolean defined() { return true; } |
| 105 |
} |