diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index 42ec87994cf6..9cf2394f0bcf 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h | |||
| @@ -112,89 +112,6 @@ enum net_device_flags { | |||
| 112 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ | 112 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ |
| 113 | IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) | 113 | IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) |
| 114 | 114 | ||
| 115 | /** | ||
| 116 | * enum net_device_priv_flags - &struct net_device priv_flags | ||
| 117 | * | ||
| 118 | * These are the &struct net_device, they are only set internally | ||
| 119 | * by drivers and used in the kernel. These flags are invisible to | ||
| 120 | * userspace, this means that the order of these flags can change | ||
| 121 | * during any kernel release. | ||
| 122 | * | ||
| 123 | * You should have a pretty good reason to be extending these flags. | ||
| 124 | * | ||
| 125 | * @IFF_802_1Q_VLAN: 802.1Q VLAN device | ||
| 126 | * @IFF_EBRIDGE: Ethernet bridging device | ||
| 127 | * @IFF_SLAVE_INACTIVE: bonding slave not the curr. active | ||
| 128 | * @IFF_MASTER_8023AD: bonding master, 802.3ad | ||
| 129 | * @IFF_MASTER_ALB: bonding master, balance-alb | ||
| 130 | * @IFF_BONDING: bonding master or slave | ||
| 131 | * @IFF_SLAVE_NEEDARP: need ARPs for validation | ||
| 132 | * @IFF_ISATAP: ISATAP interface (RFC4214) | ||
| 133 | * @IFF_MASTER_ARPMON: bonding master, ARP mon in use | ||
| 134 | * @IFF_WAN_HDLC: WAN HDLC device | ||
| 135 | * @IFF_XMIT_DST_RELEASE: dev_hard_start_xmit() is allowed to | ||
| 136 | * release skb->dst | ||
| 137 | * @IFF_DONT_BRIDGE: disallow bridging this ether dev | ||
| 138 | * @IFF_DISABLE_NETPOLL: disable netpoll at run-time | ||
| 139 | * @IFF_MACVLAN_PORT: device used as macvlan port | ||
| 140 | * @IFF_BRIDGE_PORT: device used as bridge port | ||
| 141 | * @IFF_OVS_DATAPATH: device used as Open vSwitch datapath port | ||
| 142 | * @IFF_TX_SKB_SHARING: The interface supports sharing skbs on transmit | ||
| 143 | * @IFF_UNICAST_FLT: Supports unicast filtering | ||
| 144 | * @IFF_TEAM_PORT: device used as team port | ||
| 145 | * @IFF_SUPP_NOFCS: device supports sending custom FCS | ||
| 146 | * @IFF_LIVE_ADDR_CHANGE: device supports hardware address | ||
| 147 | * change when it's running | ||
| 148 | * @IFF_MACVLAN: Macvlan device | ||
| 149 | */ | ||
| 150 | enum netdev_priv_flags { | ||
| 151 | IFF_802_1Q_VLAN = 1<<0, | ||
| 152 | IFF_EBRIDGE = 1<<1, | ||
| 153 | IFF_SLAVE_INACTIVE = 1<<2, | ||
| 154 | IFF_MASTER_8023AD = 1<<3, | ||
| 155 | IFF_MASTER_ALB = 1<<4, | ||
| 156 | IFF_BONDING = 1<<5, | ||
| 157 | IFF_SLAVE_NEEDARP = 1<<6, | ||
| 158 | IFF_ISATAP = 1<<7, | ||
| 159 | IFF_MASTER_ARPMON = 1<<8, | ||
| 160 | IFF_WAN_HDLC = 1<<9, | ||
| 161 | IFF_XMIT_DST_RELEASE = 1<<10, | ||
| 162 | IFF_DONT_BRIDGE = 1<<11, | ||
| 163 | IFF_DISABLE_NETPOLL = 1<<12, | ||
| 164 | IFF_MACVLAN_PORT = 1<<13, | ||
| 165 | IFF_BRIDGE_PORT = 1<<14, | ||
| 166 | IFF_OVS_DATAPATH = 1<<15, | ||
| 167 | IFF_TX_SKB_SHARING = 1<<16, | ||
| 168 | IFF_UNICAST_FLT = 1<<17, | ||
| 169 | IFF_TEAM_PORT = 1<<18, | ||
| 170 | IFF_SUPP_NOFCS = 1<<19, | ||
| 171 | IFF_LIVE_ADDR_CHANGE = 1<<20, | ||
| 172 | IFF_MACVLAN = 1<<21, | ||
| 173 | }; | ||
| 174 | |||
| 175 | #define IFF_802_1Q_VLAN IFF_802_1Q_VLAN | ||
| 176 | #define IFF_EBRIDGE IFF_EBRIDGE | ||
| 177 | #define IFF_SLAVE_INACTIVE IFF_SLAVE_INACTIVE | ||
| 178 | #define IFF_MASTER_8023AD IFF_MASTER_8023AD | ||
| 179 | #define IFF_MASTER_ALB IFF_MASTER_ALB | ||
| 180 | #define IFF_BONDING IFF_BONDING | ||
| 181 | #define IFF_SLAVE_NEEDARP IFF_SLAVE_NEEDARP | ||
| 182 | #define IFF_ISATAP IFF_ISATAP | ||
| 183 | #define IFF_MASTER_ARPMON IFF_MASTER_ARPMON | ||
| 184 | #define IFF_WAN_HDLC IFF_WAN_HDLC | ||
| 185 | #define IFF_XMIT_DST_RELEASE IFF_XMIT_DST_RELEASE | ||
| 186 | #define IFF_DONT_BRIDGE IFF_DONT_BRIDGE | ||
| 187 | #define IFF_DISABLE_NETPOLL IFF_DISABLE_NETPOLL | ||
| 188 | #define IFF_MACVLAN_PORT IFF_MACVLAN_PORT | ||
| 189 | #define IFF_BRIDGE_PORT IFF_BRIDGE_PORT | ||
| 190 | #define IFF_OVS_DATAPATH IFF_OVS_DATAPATH | ||
| 191 | #define IFF_TX_SKB_SHARING IFF_TX_SKB_SHARING | ||
| 192 | #define IFF_UNICAST_FLT IFF_UNICAST_FLT | ||
| 193 | #define IFF_TEAM_PORT IFF_TEAM_PORT | ||
| 194 | #define IFF_SUPP_NOFCS IFF_SUPP_NOFCS | ||
| 195 | #define IFF_LIVE_ADDR_CHANGE IFF_LIVE_ADDR_CHANGE | ||
| 196 | #define IFF_MACVLAN IFF_MACVLAN | ||
| 197 | |||
| 198 | #define IF_GET_IFACE 0x0001 /* for querying only */ | 115 | #define IF_GET_IFACE 0x0001 /* for querying only */ |
| 199 | #define IF_GET_PROTO 0x0002 | 116 | #define IF_GET_PROTO 0x0002 |
| 200 | 117 | ||
