diff options
author | 2023-12-16 13:29:59 +0100 | |
---|---|---|
committer | 2023-12-19 15:31:40 +0100 | |
commit | 971b4ad88293bef00160e1d38659077fe3a93af6 (patch) | |
tree | b7a311c9a7b2d6b4b0aa694185eb46069ddabaad /net/core/dev.c | |
parent | netlink: introduce typedef for filter function (diff) | |
download | linux-rng-971b4ad88293bef00160e1d38659077fe3a93af6.tar.xz linux-rng-971b4ad88293bef00160e1d38659077fe3a93af6.zip |
genetlink: introduce helpers to do filtered multicast
Currently it is possible for netlink kernel user to pass custom
filter function to broadcast send function netlink_broadcast_filtered().
However, this is not exposed to multicast send and to generic
netlink users.
Extend the api and introduce a netlink helper nlmsg_multicast_filtered()
and a generic netlink helper genlmsg_multicast_netns_filtered()
to allow generic netlink families to specify filter function
while sending multicast messages.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions