summaryrefslogtreecommitdiff
path: root/net/devlink/netlink_gen.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-12-16 13:29:59 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-12-19 15:31:40 +0100
commit971b4ad88293bef00160e1d38659077fe3a93af6 (patch)
treeb7a311c9a7b2d6b4b0aa694185eb46069ddabaad /net/devlink/netlink_gen.c
parent403863e985e8eba608d53b2907caaf37b6176290 (diff)
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/devlink/netlink_gen.c')
0 files changed, 0 insertions, 0 deletions