Home
last modified time | relevance | path

Searched refs:RTA_LENGTH (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c198 nest->rta_len = RTA_LENGTH(0); in add_addr()
206 rta->rta_len = RTA_LENGTH(4); in add_addr()
210 rta->rta_len = RTA_LENGTH(16); in add_addr()
218 rta->rta_len = RTA_LENGTH(2); in add_addr()
253 rta->rta_len = RTA_LENGTH(4); in add_addr()
263 rta->rta_len = RTA_LENGTH(1); in add_addr()
278 rta->rta_len = RTA_LENGTH(4); in add_addr()
339 rta->rta_len = RTA_LENGTH(1); in del_addr()
362 rta->rta_len = RTA_LENGTH(2); in del_addr()
519 rta->rta_len = RTA_LENGTH(1); in get_addr()
[all …]
/linux/tools/testing/selftests/net/
A Dudpgso.c366 NLMSG_ALIGN(RTA_LENGTH(sizeof(addr6))) + in set_route_mtu()
367 NLMSG_ALIGN(RTA_LENGTH(sizeof(int))) + in set_route_mtu()
368 NLMSG_ALIGN(RTA_LENGTH(0) + RTA_LENGTH(sizeof(int)))]; in set_route_mtu()
395 rta->rta_len = RTA_LENGTH(alen); in set_route_mtu()
404 rta->rta_len = RTA_LENGTH(sizeof(int)); in set_route_mtu()
411 rta->rta_len = RTA_LENGTH(0) + RTA_LENGTH(sizeof(int)); in set_route_mtu()
415 rta = (void *)(((char *) rta) + RTA_LENGTH(0)); in set_route_mtu()
417 rta->rta_len = RTA_LENGTH(sizeof(int)); in set_route_mtu()
A Dipsec.c182 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack()
190 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
/linux/include/uapi/linux/
A Drtnetlink.h216 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
217 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
218 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
219 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/linux/net/ipv6/
A Desp6.c1140 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/linux/net/ipv4/
A Desp4.c1097 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/linux/drivers/md/
A Ddm-crypt.c2378 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()

Completed in 24 milliseconds