diff options
Diffstat (limited to 'include/linux/if_link.h')
-rw-r--r-- | include/linux/if_link.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/if_link.h b/include/linux/if_link.h index 4b24ff453aee..f715750d0b87 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h | |||
@@ -138,6 +138,8 @@ enum { | |||
138 | IFLA_GROUP, /* Group the device belongs to */ | 138 | IFLA_GROUP, /* Group the device belongs to */ |
139 | IFLA_NET_NS_FD, | 139 | IFLA_NET_NS_FD, |
140 | IFLA_EXT_MASK, /* Extended info mask, VFs, etc */ | 140 | IFLA_EXT_MASK, /* Extended info mask, VFs, etc */ |
141 | IFLA_PROMISCUITY, /* Promiscuity count: > 0 means acts PROMISC */ | ||
142 | #define IFLA_PROMISCUITY IFLA_PROMISCUITY | ||
141 | __IFLA_MAX | 143 | __IFLA_MAX |
142 | }; | 144 | }; |
143 | 145 | ||
@@ -253,6 +255,7 @@ struct ifla_vlan_qos_mapping { | |||
253 | enum { | 255 | enum { |
254 | IFLA_MACVLAN_UNSPEC, | 256 | IFLA_MACVLAN_UNSPEC, |
255 | IFLA_MACVLAN_MODE, | 257 | IFLA_MACVLAN_MODE, |
258 | IFLA_MACVLAN_FLAGS, | ||
256 | __IFLA_MACVLAN_MAX, | 259 | __IFLA_MACVLAN_MAX, |
257 | }; | 260 | }; |
258 | 261 | ||
@@ -265,6 +268,8 @@ enum macvlan_mode { | |||
265 | MACVLAN_MODE_PASSTHRU = 8,/* take over the underlying device */ | 268 | MACVLAN_MODE_PASSTHRU = 8,/* take over the underlying device */ |
266 | }; | 269 | }; |
267 | 270 | ||
271 | #define MACVLAN_FLAG_NOPROMISC 1 | ||
272 | |||
268 | /* SR-IOV virtual function management section */ | 273 | /* SR-IOV virtual function management section */ |
269 | 274 | ||
270 | enum { | 275 | enum { |