Home
last modified time | relevance | path

Searched refs:rta_len (Results 1 – 11 of 11) 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()
339 rta->rta_len = RTA_LENGTH(1); in del_addr()
362 rta->rta_len = RTA_LENGTH(2); in del_addr()
482 attrs->rta_len); in print_addrs()
519 rta->rta_len = RTA_LENGTH(1); in get_addr()
[all …]
/linux/tools/testing/selftests/net/
A 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()
A Dipsec.c190 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
218 attr->rta_len = nlmsg_end - (char *)attr; in rtattr_end()
/linux/include/uapi/linux/
A Drtnetlink.h203 unsigned short rta_len; member
212 (rta)->rta_len >= sizeof(struct rtattr) && \
213 (rta)->rta_len <= (len))
214 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
215 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
219 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/linux/crypto/
A 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()
A Dauthenc.c70 key += rta->rta_len; in crypto_authenc_extractkeys()
71 keylen -= rta->rta_len; in crypto_authenc_extractkeys()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.c857 key += RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()
858 keylen -= RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()
915 key += RTA_ALIGN(rta->rta_len); in otx_cpt_aead_ecb_null_sha_setkey()
916 keylen -= RTA_ALIGN(rta->rta_len); in otx_cpt_aead_ecb_null_sha_setkey()
/linux/drivers/crypto/marvell/octeontx2/
A 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()
968 key += RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_ecb_null_sha_setkey()
969 keylen -= RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_ecb_null_sha_setkey()
/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 42 milliseconds