Lines Matching full:tlen
559 int len, tlen;
562 tlen = ntohs(trns->h.len) - sizeof(*trns);
574 while (tlen > 0) {
851 tlen -= sizeof(*d);
854 tlen -= (sizeof(*d) + ntohs(d->lorv));
1292 int tlen;
1324 tlen = sa->l - sizeof(*sab);
1332 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen);
1461 int tlen; /* total length of all transform in a proposal */
1471 tlen = ntohs(prop->h.len)
1473 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, tlen);
2059 int tlen;
2063 tlen = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t);
2066 while (tlen > 0) {
2238 tlen -= sizeof(*d);
2242 tlen -= (sizeof(*d) + lorv);
2274 int tlen;
2279 tlen = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t);
2283 while (tlen > 0) {
2462 tlen -= sizeof(*d);
2466 tlen -= (sizeof(*d) + lorv);
2495 int tlen;
2500 tlen = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t);
2504 while (tlen > 0) {
2613 tlen -= sizeof(*d);
2617 tlen -= (sizeof(*d) + lorv);
3934 int tlen, len;
3942 tlen = 0;
3944 new = vrealloc(new, tlen + len);
3949 memcpy(new->v + tlen, b, len);
3950 tlen += len;
4609 int tlen;
4614 tlen = ntohs(t->h.len) - sizeof(*t);
4624 while (tlen > 0) {
4799 tlen -= sizeof(*d);
4802 tlen -= (sizeof(*d) + ntohs(d->lorv));