Searched refs:addattr_l (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | netlink_helpers.c | 284 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()
|
D | netlink_helpers.h | 42 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/ |
D | tc_redirect.c | 184 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()
|
D | tc_netkit.c | 54 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()
|
D | tc_links.c | 1816 addattr_l(&req.n, sizeof(req), TCA_KIND, kind, strlen(kind) + 1); in qdisc_replace()
|