Home
last modified time | relevance | path

Searched refs:addattr_l (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dnetlink_helpers.c284 return addattr_l(n, maxlen, type, NULL, 0); in addattr()
289 return addattr_l(n, maxlen, type, &data, sizeof(__u8)); in addattr8()
294 return addattr_l(n, maxlen, type, &data, sizeof(__u16)); in addattr16()
299 return addattr_l(n, maxlen, type, &data, sizeof(__u32)); in addattr32()
304 return addattr_l(n, maxlen, type, &data, sizeof(__u64)); in addattr64()
309 return addattr_l(n, maxlen, type, str, strlen(str)+1); in addattrstrz()
312 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, in addattr_l() function
350 addattr_l(n, maxlen, type, NULL, 0); in addattr_nest()
Dnetlink_helpers.h42 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c184 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, prim, strlen(prim)); in create_netkit()
186 addattr_l(&req.n, sizeof(req), IFLA_INFO_KIND, type, strlen(type)); in create_netkit()
191 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, peer, strlen(peer)); in create_netkit()
Dtc_netkit.c54 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, netkit_name, in create_netkit()
57 addattr_l(&req.n, sizeof(req), IFLA_INFO_KIND, type, strlen(type)); in create_netkit()
Dtc_links.c1816 addattr_l(&req.n, sizeof(req), TCA_KIND, kind, strlen(kind) + 1); in qdisc_replace()