Searched refs:RTA_ALIGN (Results 1 – 4 of 4) sorted by relevance
210 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) ) macro214 #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))
857 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()
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()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()
174 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 17 milliseconds