Home
last modified time | relevance | path

Searched refs:RTA_ALIGN (Results 1 – 4 of 4) sorted by relevance

/linux/include/uapi/linux/
A Drtnetlink.h210 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) ) macro
214 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
215 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
216 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
217 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
/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/tools/testing/selftests/net/
A Dipsec.c174 return (struct rtattr *)((char *)(nh) + RTA_ALIGN((nh)->nlmsg_len)); in rtattr_hdr()
182 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack()

Completed in 18 milliseconds