Lines Matching refs:PFKEY_ALIGN8
1815 ilen = PFKEY_ALIGN8(sizeof(*xisr) + in key_sp2msg()
1873 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf()
2094 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd()
2316 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2333 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2497 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) in key_spdflush()
2534 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spdflush()
2713 tlen += PFKEY_ALIGN8(len); in key_getspreqmsglen()
2749 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_spdexpire()
3381 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3417 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3432 if (len != PFKEY_ALIGN8(sizeof(struct sadb_key))) in key_setsaval()
3749 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_setsadbmsg()
3789 len = PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_setsadbsa()
3821 len = PFKEY_ALIGN8(sizeof(struct sadb_address)) + in key_setsadbaddr()
3822 PFKEY_ALIGN8(saddr->sa_len); in key_setsadbaddr()
3850 mtod(m, caddr_t) + PFKEY_ALIGN8(sizeof(struct sadb_address)), in key_setsadbaddr()
3866 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa2)); in key_setsadbxsa2()
3896 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa_replay)); in key_setsadbxsareplay()
3922 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_type)); in key_setsadbxtype()
3949 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_port)); in key_setsadbxport()
4021 len = PFKEY_ALIGN8(sizeof(struct sadb_x_policy)); in key_setsadbxpolicy()
4931 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)) + in key_getspi()
4932 PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
4951 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_getspi()
4957 off += PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
6287 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ealg()
6387 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ah()
6443 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ipcomp()
6485 const int l = PFKEY_ALIGN8(sizeof(struct sadb_prop)); in key_getprop()
6677 bzero(id, sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6678 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6682 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(fqdnlen); in key_acquire()
6696 bzero(id, sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6697 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6705 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(userfqdnlen); in key_acquire()
7163 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_register()
7170 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7185 off += PFKEY_ALIGN8(sizeof(*alg)); in key_register()
7194 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7207 off += PFKEY_ALIGN8(sizeof(struct sadb_alg)); in key_register()
7316 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_expire()
7684 m_adj(m, PFKEY_ALIGN8(sizeof(struct sadb_msg))); in key_promisc()
8140 baselen = PFKEY_ALIGN8(sizeof(struct sadb_address)); in key_validate_ext()
8147 baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident)); in key_validate_ext()
8164 if (baselen + PFKEY_ALIGN8(sa->sa_len) != len) in key_validate_ext()
8485 len = PFKEY_ALIGN8(sizeof(struct sadb_key) + _KEYLEN(src)); in key_setkey()
8520 int len = PFKEY_ALIGN8(sizeof(struct sadb_lifetime)); in key_setlifetime()