Lines Matching refs:newtlen
1572 int newtlen; local
1578 newtlen = sizeof(struct ipsecdoi_sa_b);
1580 newtlen += sizeof(struct isakmp_pl_p);
1581 newtlen += p->prop->spi_size;
1582 newtlen += ntohs(p->trns->h.len);
1585 newsa = vmalloc(newtlen);
1592 ((struct isakmp_gen *)bp)->len = htons(newtlen);
1697 int newtlen; local
1712 newtlen = sizeof(struct ipsecdoi_sa_b);
1719 newtlen += (sizeof(struct isakmp_pl_p)
1730 newtlen += ntohs(p->trns->h.len);
1735 newsa = vmalloc(newtlen);
1743 ((struct isakmp_gen *)bp)->len = htons(newtlen);