Home
last modified time | relevance | path

Searched refs:libbpf_nla_getattr_u32 (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/bpf/bpftool/
Dnetlink_dumper.c24 NET_DUMP_UINT("id", " id %u", libbpf_nla_getattr_u32(tb[attr])) in xdp_dump_prog_id()
97 libbpf_nla_getattr_u32(tb[TCA_ACT_BPF_ID])); in do_bpf_dump_one_act()
151 libbpf_nla_getattr_u32(tb[TCA_BPF_ID])); in do_bpf_filter_dump()
/linux-6.6.21/tools/lib/bpf/
Dnetlink.c387 xdp_id->info.prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
391 xdp_id->info.skb_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
395 xdp_id->info.drv_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
399 xdp_id->info.hw_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
420 ifindex = libbpf_nla_getattr_u32(tb[NETDEV_A_DEV_IFINDEX]); in parse_xdp_features()
427 libbpf_nla_getattr_u32(tb[NETDEV_A_DEV_XDP_ZC_MAX_SEGS]); in parse_xdp_features()
673 OPTS_SET(info->opts, prog_id, libbpf_nla_getattr_u32(tbb[TCA_BPF_ID])); in __get_tc_info()
Dnlattr.h99 static inline uint32_t libbpf_nla_getattr_u32(const struct nlattr *nla) in libbpf_nla_getattr_u32() function