Home
last modified time | relevance | path

Searched refs:libbpf_nla_data (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/lib/bpf/
Dnlattr.h82 static inline void *libbpf_nla_data(const struct nlattr *nla) in libbpf_nla_data() function
89 return *(uint8_t *)libbpf_nla_data(nla); in libbpf_nla_getattr_u8()
94 return *(uint32_t *)libbpf_nla_data(nla); in libbpf_nla_getattr_u32()
99 return (const char *)libbpf_nla_data(nla); in libbpf_nla_getattr_str()
Dnlattr.c72 char *data = libbpf_nla_data(nla); in validate_nla()
153 return libbpf_nla_parse(tb, maxtype, libbpf_nla_data(nla), in libbpf_nla_parse_nested()
190 errmsg = (char *) libbpf_nla_data(tb[NLMSGERR_ATTR_MSG]); in libbpf_nla_dump_errormsg()
/linux-6.1.9/tools/bpf/bpftool/
Dnetlink_dumper.c113 strcmp(libbpf_nla_data(tb[TCA_ACT_KIND]), "bpf") == 0) in do_dump_one_act()
167 strcmp(libbpf_nla_data(tb[TCA_KIND]), "bpf") == 0) { in do_filter_dump()
Dnet.c389 strcmp(libbpf_nla_data(tb[TCA_KIND]), "clsact") == 0) in dump_class_qdisc_nlmsg()