mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 14:05:22 +08:00
a463d6b191
A number of functions in the rtnl_*_req family accept a caller-provided callback to set up arbitrary filtering. rtnl_statsdump_req_filter() currently only allows setting a field in the IFSM header, not custom attributes. So far these were not necessary, but with introduction of more detailed filtering settings, the callback becomes necessary. To that end, add a filter_fn and filter_data arguments to the function. Unlike the other filters, this one is typed to expect an IFSM pointer, to permit tweaking the header itself as well. Pass NULLs in the existing callers. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org> |
||
---|---|---|
.. | ||
iptables | ||
libiptc | ||
netinet | ||
uapi | ||
bpf_api.h | ||
bpf_elf.h | ||
bpf_scm.h | ||
bpf_util.h | ||
cg_map.h | ||
color.h | ||
dlfcn.h | ||
ip6tables.h | ||
iptables.h | ||
json_print.h | ||
json_writer.h | ||
libgenl.h | ||
libnetlink.h | ||
list.h | ||
ll_map.h | ||
mnl_utils.h | ||
names.h | ||
namespace.h | ||
rt_names.h | ||
rtm_map.h | ||
utils.h | ||
version.h | ||
xt-internal.h | ||
xtables.h |