Home | History | Annotate | Download | only in racoon

Lines Matching defs:tlen

191 	int tlen;
304 tlen = + sizeof(*gen) + iph2->sa->l
307 tlen += (sizeof(*gen) + iph2->dhpub->l);
309 tlen += sizeof(*gen) + iph2->id->l;
311 tlen += sizeof(*gen) + iph2->id_p->l;
314 tlen += 2 * sizeof(*gen) + nat_oai->l + nat_oar->l;
317 body = vmalloc(tlen);
412 int tlen;
469 tlen = iph2->nonce->l
471 hbuf = vmalloc(tlen);
484 tlen = 0; /* count payload length except of HASH payload. */
592 tlen += pa->len;
704 "HASH allocated:hbuf->l=%zu actual:tlen=%zu\n",
705 hbuf->l, tlen + iph2->nonce->l);
707 hbuf->l = iph2->nonce->l + tlen;
794 int tlen;
827 tlen = sizeof(struct isakmp)
829 buf = vmalloc(tlen);
1078 int tlen;
1143 tlen = ntohl(isakmp->len) - sizeof(*isakmp);
1144 hbuf = vmalloc(tlen);
1161 tlen = 0; /* count payload length except of HASH payload. */
1295 tlen += pa->len;
1316 hbuf->l = tlen;
1482 int tlen;
1559 tlen = sizeof(*gen) + iph2->sa_ret->l
1562 tlen += (sizeof(*gen) + iph2->dhpub->l);
1564 tlen += (sizeof(*gen) + iph2->id_p->l
1568 tlen += 2 * sizeof(*gen) + nat_oai->l + nat_oar->l;
1571 body = vmalloc(tlen);
1854 int tlen;
1869 tlen = sizeof(struct isakmp_pl_n) + iph2->approval->head->spisize;
1870 notify = vmalloc(tlen);
1878 n->h.len = htons(tlen);
1890 tlen = sizeof(struct isakmp)
1893 buf = vmalloc(tlen);
2084 int tlen;
2089 tlen = sizeof(*isakmp)
2092 buf = vmalloc(tlen);