Lines Matching refs:tlen
1793 int tlen;
1806 tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0);
1809 while (tlen > 0) {
1948 tlen -= xisr->sadb_x_ipsecrequest_len;
1951 if (tlen < 0) {
1952 ipseclog((LOG_DEBUG, "key_msg2sp: becoming tlen < 0.\n"));
2024 int tlen;
2032 tlen = key_getspreqmsglen(sp);
2034 m = key_alloc_mbuf(tlen);
2041 m->m_len = tlen;
2044 bzero(xpl, tlen);
2046 xpl->sadb_x_policy_len = PFKEY_UNIT64(tlen);
3304 u_int tlen;
3306 tlen = sizeof(struct sadb_x_policy);
3310 return tlen;
3322 tlen += PFKEY_ALIGN8(len);
3326 return tlen;
4937 u_int16_t tlen,
4970 p->sadb_msg_len = PFKEY_UNIT64(tlen);