diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2022-09-06 11:55:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-16 09:28:44 +0100 |
commit | 7e6e1b57162ed6a2d32d2f0929c27d79482ff706 (patch) | |
tree | 4e3bef41fe0f253abbecf6b040edec570a3fb34e /include/uapi/linux/if_link.h | |
parent | da970726ea872269dc311b6dd87af8cf457b8fe9 (diff) | |
download | lwn-7e6e1b57162ed6a2d32d2f0929c27d79482ff706.tar.gz lwn-7e6e1b57162ed6a2d32d2f0929c27d79482ff706.zip |
rtnetlink: advertise allmulti counter
Like what was done with IFLA_PROMISCUITY, add IFLA_ALLMULTI to advertise
the allmulti counter.
The flag IFF_ALLMULTI is advertised only if it was directly set by a
userland app.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index e36d9d2c65a7..0bfa9a99ebb6 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -370,6 +370,7 @@ enum { IFLA_GRO_MAX_SIZE, IFLA_TSO_MAX_SIZE, IFLA_TSO_MAX_SEGS, + IFLA_ALLMULTI, /* Allmulti count: > 0 means acts ALLMULTI */ __IFLA_MAX }; |