Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c320 rta->rta_len = RTA_LENGTH(namelen); in resolve_mptcp_pm_netlink()
392 addr->rta_len = RTA_LENGTH(0); in dsf()
400 rta->rta_len = RTA_LENGTH(4); in dsf()
404 rta->rta_len = RTA_LENGTH(16); in dsf()
412 rta->rta_len = RTA_LENGTH(2); in dsf()
420 rta->rta_len = RTA_LENGTH(2); in dsf()
431 rta->rta_len = RTA_LENGTH(4); in dsf()
506 addr->rta_len = RTA_LENGTH(0); in csf()
514 rta->rta_len = RTA_LENGTH(4); in csf()
518 rta->rta_len = RTA_LENGTH(16); in csf()
[all …]
/linux-6.1.9/tools/testing/selftests/net/
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()
Dtun.c92 rta->rta_len = RTA_LENGTH(IFNAMSIZ); in tun_delete()
Dtap.c39 rta->rta_len = RTA_LENGTH(len); in rtattr_add()
Dipsec.c220 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack()
228 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
/linux-6.1.9/include/uapi/linux/
Drtnetlink.h225 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
226 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
228 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/linux-6.1.9/net/ipv4/
Desp4.c1101 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/linux-6.1.9/net/ipv6/
Desp6.c1144 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/linux-6.1.9/drivers/md/
Ddm-crypt.c2367 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()