Home
last modified time | relevance | path

Searched refs:rta_len (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c331 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 …]
/Linux-v6.6/tools/testing/selftests/net/
Dudpgso.c395 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()
Dtun.c92 rta->rta_len = RTA_LENGTH(IFNAMSIZ); in tun_delete()
93 req.nh.nlmsg_len += rta->rta_len; in tun_delete()
Dtap.c39 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()
Dipsec.c228 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
256 attr->rta_len = nlmsg_end - (char *)attr; in rtattr_end()
/Linux-v6.6/include/uapi/linux/
Drtnetlink.h212 unsigned short rta_len; member
221 (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))
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c177 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()
/Linux-v6.6/tools/testing/selftests/net/af_unix/
Ddiag_uid.c119 unsigned int rta_len = len - NLMSG_LENGTH(sizeof(*udr)); in render_response() local
127 ASSERT_NE(RTA_OK(attr, rta_len), 0); in render_response()
/Linux-v6.6/crypto/
Dalgboss.c124 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()
Dauthenc.c70 key += rta->rta_len; in crypto_authenc_extractkeys()
71 keylen -= rta->rta_len; in crypto_authenc_extractkeys()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c858 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()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c912 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()
/Linux-v6.6/tools/testing/selftests/bpf/
Dxsk.c408 rta->rta_len = RTA_LENGTH(sizeof(unsigned int)); in xsk_set_mtu()
/Linux-v6.6/net/ipv6/
Desp6.c1146 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/Linux-v6.6/net/ipv4/
Desp4.c1103 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
/Linux-v6.6/drivers/md/
Ddm-crypt.c2400 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()