Searched refs:rta_len (Results 1 – 16 of 16) sorted by relevance
331 rta->rta_len = RTA_LENGTH(namelen); in resolve_mptcp_pm_netlink()333 off += NLMSG_ALIGN(rta->rta_len); in resolve_mptcp_pm_netlink()403 addr->rta_len = RTA_LENGTH(0); in dsf()404 off += NLMSG_ALIGN(addr->rta_len); in dsf()411 rta->rta_len = RTA_LENGTH(4); in dsf()415 rta->rta_len = RTA_LENGTH(16); in dsf()418 off += NLMSG_ALIGN(rta->rta_len); in dsf()423 rta->rta_len = RTA_LENGTH(2); in dsf()425 off += NLMSG_ALIGN(rta->rta_len); in dsf()431 rta->rta_len = RTA_LENGTH(2); in dsf()[all …]
395 rta->rta_len = RTA_LENGTH(alen); in set_route_mtu()400 off += NLMSG_ALIGN(rta->rta_len); in set_route_mtu()404 rta->rta_len = RTA_LENGTH(sizeof(int)); in set_route_mtu()406 off += NLMSG_ALIGN(rta->rta_len); in set_route_mtu()411 rta->rta_len = RTA_LENGTH(0) + RTA_LENGTH(sizeof(int)); in set_route_mtu()412 off += NLMSG_ALIGN(rta->rta_len); 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()93 req.nh.nlmsg_len += rta->rta_len; in tun_delete()
39 rta->rta_len = RTA_LENGTH(len); in rtattr_add()40 nh->nlmsg_len = RTA_ALIGN(nh->nlmsg_len) + RTA_ALIGN(rta->rta_len); in rtattr_add()53 attr->rta_len = end - (uint8_t *)attr; in rtattr_end()
228 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()256 attr->rta_len = nlmsg_end - (char *)attr; in rtattr_end()
212 unsigned short rta_len; member221 (rta)->rta_len >= sizeof(struct rtattr) && \222 (rta)->rta_len <= (len))223 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \224 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))228 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
177 rta->rta_len = RTA_LENGTH(len); in rtattr_add()178 nh->nlmsg_len = RTA_ALIGN(nh->nlmsg_len) + RTA_ALIGN(rta->rta_len); in rtattr_add()200 attr->rta_len = end - (uint8_t *)attr; in rtattr_end()
119 unsigned int rta_len = len - NLMSG_LENGTH(sizeof(*udr)); in render_response() local127 ASSERT_NE(RTA_OK(attr, rta_len), 0); in render_response()
124 param->attrs[i].attr.rta_len = sizeof(param->attrs[i]); in cryptomgr_schedule_probe()146 param->type.attr.rta_len = sizeof(param->type); in cryptomgr_schedule_probe()
70 key += rta->rta_len; in crypto_authenc_extractkeys()71 keylen -= rta->rta_len; in crypto_authenc_extractkeys()
858 key += RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()859 keylen -= RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()916 key += RTA_ALIGN(rta->rta_len); in otx_cpt_aead_ecb_null_sha_setkey()917 keylen -= RTA_ALIGN(rta->rta_len); in otx_cpt_aead_ecb_null_sha_setkey()
912 key += RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_cbc_aes_sha_setkey()913 keylen -= RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_cbc_aes_sha_setkey()964 key += RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_ecb_null_sha_setkey()965 keylen -= RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_ecb_null_sha_setkey()
408 rta->rta_len = RTA_LENGTH(sizeof(unsigned int)); in xsk_set_mtu()
1146 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
1103 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2400 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()