iproute2/include
Benjamin Poirier d205b5cf38 bridge: Provide rta_type()
Factor out the repeated code pattern
rta_type = attr->rta_type & NLA_TYPE_MASK
into a helper which is similar to the existing kernel function nla_type().

Reviewed-by: Petr Machata <petrm@nvidia.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2023-12-22 09:58:16 -08:00
..
iptables SPDX license identifiers 2017-11-24 12:21:35 -08:00
libiptc SPDX license identifiers 2017-11-24 12:21:35 -08:00
netinet ss: report ecnseen 2011-11-23 14:51:54 -08:00
uapi uapi: update stddef.h 2023-12-08 09:27:59 -08:00
bpf_api.h include: dual license the bpf helper includes 2023-07-22 09:30:14 -07:00
bpf_elf.h include: dual license the bpf helper includes 2023-07-22 09:30:14 -07:00
bpf_scm.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
bpf_util.h bpf: increase verifier verbosity when in verbose mode 2023-10-27 16:56:55 +00:00
cg_map.h Add missing SPDX headers 2023-07-22 09:30:36 -07:00
color.h lib/color: make local functions static 2018-11-19 11:42:44 -08:00
dlfcn.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
ip6tables.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
iptables.h remove trailing whitespace 2021-04-27 11:55:53 -07:00
json_print.h bridge: Deduplicate print_range() 2023-12-22 09:57:54 -08:00
json_writer.h Merge branch 'iproute2-master' into iproute2-next 2018-12-19 12:02:17 -08:00
libgenl.h mptcp: add support for event monitoring 2021-04-22 05:10:25 +00:00
libnetlink.h bridge: Provide rta_type() 2023-12-22 09:58:16 -08:00
list.h devlink: Add support for devlink resource abstraction 2018-02-23 08:36:05 -08:00
ll_map.h ll_map: Add function to remove link cache entry by index 2019-02-22 18:51:15 -08:00
mnl_utils.h mnl_utils: introduce a helper to check if dump policy exists for command 2023-09-11 09:16:45 -06:00
names.h tc: drop unused name_to_id function 2018-11-19 11:42:44 -08:00
namespace.h netns: make netns_{save,restore} static 2019-06-20 14:30:41 -07:00
rt_names.h ipaddress: accept symbolic names 2023-06-02 08:51:53 -07:00
rtm_map.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
selinux.h ip vrf: make ipvrf_exec SELinux-aware 2023-08-24 17:34:40 -07:00
utils.h Add utility to convert an unsigned int to string 2023-08-13 10:24:32 -06:00
version.h v6.6.0 2023-11-04 09:22:25 -07:00
xt-internal.h SPDX license identifiers 2017-11-24 12:21:35 -08:00
xtables.h tc: adjust xtables_match and xtables_target to changes in recent iptables 2019-06-24 16:12:17 -07:00