Lines Matching refs:PFKEY_ALIGN8

1823 			ilen = PFKEY_ALIGN8(sizeof(*xisr) +  in key_sp2msg()
1881 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf()
2102 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd()
2324 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2341 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
2505 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) in key_spdflush()
2542 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spdflush()
2721 tlen += PFKEY_ALIGN8(len); in key_getspreqmsglen()
2757 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_spdexpire()
3400 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3436 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()
3451 if (len != PFKEY_ALIGN8(sizeof(struct sadb_key))) in key_setsaval()
3768 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_setsadbmsg()
3808 len = PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_setsadbsa()
3840 len = PFKEY_ALIGN8(sizeof(struct sadb_address)) + in key_setsadbaddr()
3841 PFKEY_ALIGN8(saddr->sa_len); in key_setsadbaddr()
3869 mtod(m, caddr_t) + PFKEY_ALIGN8(sizeof(struct sadb_address)), in key_setsadbaddr()
3885 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa2)); in key_setsadbxsa2()
3915 len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa_replay)); in key_setsadbxsareplay()
3941 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_type)); in key_setsadbxtype()
3968 len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_port)); in key_setsadbxport()
4040 len = PFKEY_ALIGN8(sizeof(struct sadb_x_policy)); in key_setsadbxpolicy()
4972 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)) + in key_getspi()
4973 PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
4992 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_getspi()
4998 off += PFKEY_ALIGN8(sizeof(struct sadb_sa)); in key_getspi()
6329 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ealg()
6431 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ah()
6488 const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb)); in key_getcomb_ipcomp()
6530 const int l = PFKEY_ALIGN8(sizeof(struct sadb_prop)); in key_getprop()
6722 bzero(id, sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6723 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(fqdnlen)); in key_acquire()
6727 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(fqdnlen); in key_acquire()
6741 bzero(id, sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6742 id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(userfqdnlen)); in key_acquire()
6750 p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(userfqdnlen); in key_acquire()
7208 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_register()
7215 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7230 off += PFKEY_ALIGN8(sizeof(*alg)); in key_register()
7239 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
7252 off += PFKEY_ALIGN8(sizeof(struct sadb_alg)); in key_register()
7361 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_expire()
7729 m_adj(m, PFKEY_ALIGN8(sizeof(struct sadb_msg))); in key_promisc()
8185 baselen = PFKEY_ALIGN8(sizeof(struct sadb_address)); in key_validate_ext()
8192 baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident)); in key_validate_ext()
8209 if (baselen + PFKEY_ALIGN8(sa->sa_len) != len) in key_validate_ext()
8530 len = PFKEY_ALIGN8(sizeof(struct sadb_key) + _KEYLEN(src)); in key_setkey()
8565 int len = PFKEY_ALIGN8(sizeof(struct sadb_lifetime)); in key_setlifetime()