Lines Matching refs:PFKEY_ALIGN8

1856 			ilen = PFKEY_ALIGN8(sizeof(*xisr) +  in key_sp2msg()
1914 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf()
2151 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd()
2375 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2386 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2550 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) in key_spdflush()
2587 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spdflush()
2766 tlen += PFKEY_ALIGN8(len); in key_getspreqmsglen()
2802 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_spdexpire()
3437 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3473 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3488 if (len != PFKEY_ALIGN8(sizeof(struct sadb_key))) in key_setsaval()
3807 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_setsadbmsg()
3841 len = PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_setsadbsa()
3873 len = PFKEY_ALIGN8(sizeof(struct sadb_address)) + in key_setsadbaddr()
3874 PFKEY_ALIGN8(saddr->sa_len); in key_setsadbaddr()
3902 mtod(m, caddr_t) + PFKEY_ALIGN8(sizeof(struct sadb_address)), in key_setsadbaddr()
3918 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa2)); in key_setsadbxsa2()
3948 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa_replay)); in key_setsadbxsareplay()
3974 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_type)); in key_setsadbxtype()
4001 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_port)); in key_setsadbxport()
4073 len = PFKEY_ALIGN8(sizeof(struct sadb_x_policy)); in key_setsadbxpolicy()
4988 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)) + in key_getspi()
4989 PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
5002 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_getspi()
5008 off += PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
6349 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ealg()
6449 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ah()
6505 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ipcomp()
6547 const int l = PFKEY_ALIGN8(sizeof(struct sadb_prop)); in key_getprop()
6739 bzero(id, sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6740 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6744 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(fqdnlen); in key_acquire()
6758 bzero(id, sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6759 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6767 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(userfqdnlen); in key_acquire()
7219 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_register()
7226 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7241 off += PFKEY_ALIGN8(sizeof(*alg)); in key_register()
7250 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7263 off += PFKEY_ALIGN8(sizeof(struct sadb_alg)); in key_register()
7374 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_expire()
7742 m_adj(m, PFKEY_ALIGN8(sizeof(struct sadb_msg))); in key_promisc()
8192 baselen = PFKEY_ALIGN8(sizeof(struct sadb_address)); in key_validate_ext()
8199 baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident)); in key_validate_ext()
8216 if (baselen + PFKEY_ALIGN8(sa->sa_len) != len) in key_validate_ext()
8555 len = PFKEY_ALIGN8(sizeof(struct sadb_key) + _KEYLEN(src)); in key_setkey()
8590 int len = PFKEY_ALIGN8(sizeof(struct sadb_lifetime)); in key_setlifetime()