Home
last modified time | relevance | path

Searched refs:rtattr_add (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c171 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add() function
185 struct rtattr *rta = rtattr_add(nh, type, strlen(s)); in rtattr_add_str()
193 return rtattr_add(nh, type, 0); in rtattr_begin()
225 rtattr_add(nh, IFLA_XFRM_COLLECT_METADATA, 0); in setup_xfrmi_external_dev()
/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c33 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add() function
46 return rtattr_add(nh, type, 0); in rtattr_begin()
59 struct rtattr *rta = rtattr_add(nh, type, strlen(s)); in rtattr_add_str()
68 struct rtattr *rta = rtattr_add(nh, type, strlen(s) + 1); in rtattr_add_strsz()
77 struct rtattr *rta = rtattr_add(nh, type, len); in rtattr_add_any()