Lines Matching defs:tlen
1626 int tlen;
1639 tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0);
1642 while (tlen > 0) {
1781 tlen -= xisr->sadb_x_ipsecrequest_len;
1784 if (tlen < 0) {
1785 ipseclog((LOG_DEBUG, "key_msg2sp: becoming tlen < 0.\n"));
1830 int tlen;
1838 tlen = key_getspreqmsglen(sp);
1840 m = key_alloc_mbuf(tlen);
1847 m->m_len = tlen;
1850 bzero(xpl, tlen);
1852 xpl->sadb_x_policy_len = PFKEY_UNIT64(tlen);
2796 u_int tlen;
2798 tlen = sizeof(struct sadb_x_policy);
2802 return tlen;
2814 tlen += PFKEY_ALIGN8(len);
2818 return tlen;
3985 key_setsadbmsg(type, tlen, satype, seq, pid, reserved)
3987 u_int16_t tlen;
4019 p->sadb_msg_len = PFKEY_UNIT64(tlen);