Searched refs:RTA_LENGTH (Results 1 – 9 of 9) sorted by relevance
320 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 …]
366 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()
92 rta->rta_len = RTA_LENGTH(IFNAMSIZ); in tun_delete()
39 rta->rta_len = RTA_LENGTH(len); in rtattr_add()
220 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()
225 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro226 #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))
1101 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
1144 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2367 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()