Lines Matching defs:len
67 int len = 0;
88 len = sa->l - sizeof(*sab);
90 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, len);
103 if (pa->len == 0) {
105 "invalid proposal with length %d\n", pa->len);
115 len = ntohs(prop->h.len) -
117 tbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, len);
130 len = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t);
133 while (len > 0) {
140 len -= sizeof(*d);
144 len -= (sizeof(*d) + lorv);