Home | History | Annotate | Download | only in netipsec

Lines Matching defs:tlen

102 	int tlen, extlen;
115 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg);
118 while (tlen > 0) {
119 if (ext->sadb_ext_len == 0 || ext->sadb_ext_len > tlen) {
120 panic("%s: invalid ext_len=%d tlen=%d was passed",
121 __func__, ext->sadb_ext_len, tlen);
174 tlen -= extlen;
385 int tlen;
388 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl);
391 while (tlen > 0) {
414 if (xisr->sadb_x_ipsecrequest_len > tlen) {
419 tlen -= xisr->sadb_x_ipsecrequest_len;
426 if (tlen != 0)