diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-12-16 15:29:59 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-19 17:31:40 +0300 |
commit | 971b4ad88293bef00160e1d38659077fe3a93af6 (patch) | |
tree | b7a311c9a7b2d6b4b0aa694185eb46069ddabaad /samples | |
parent | 403863e985e8eba608d53b2907caaf37b6176290 (diff) | |
download | linux-971b4ad88293bef00160e1d38659077fe3a93af6.tar.xz |
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 'samples')
0 files changed, 0 insertions, 0 deletions