Lines Matching defs:attrlen
2726 int trnslen, attrlen;
2739 attrlen = setph1attr(sa, p);
2740 trnslen += attrlen;
2742 p += attrlen;
2756 int attrlen = 0;
2761 attrlen += sizeof(struct isakmp_data)
2764 attrlen += sizeof(lifetime);
2782 attrlen += sizeof(struct isakmp_data)
2785 attrlen += sizeof(lifebyte);
2801 attrlen += sizeof(struct isakmp_data);
2806 attrlen += sizeof(struct isakmp_data);
2818 attrlen += sizeof(struct isakmp_data);
2823 attrlen += sizeof(struct isakmp_data);
2837 attrlen += sizeof(struct isakmp_data);
2846 attrlen += sizeof(struct isakmp_data);
2860 attrlen += sizeof(struct isakmp_data);
2869 attrlen += sa->gssid->l;
2871 attrlen += sa->gssid->l * 2;
2895 attrlen -= sa->gssid->l * 2;
2916 attrlen -= sa->gssid->l * 2;
2933 return attrlen;
2946 int attrlen;
3011 attrlen = 0;
3013 attrlen += sizeof(struct isakmp_data)
3016 attrlen += sizeof(u_int32_t);
3019 attrlen += sizeof(struct isakmp_data)
3022 attrlen += sizeof(u_int32_t);
3024 attrlen += sizeof(struct isakmp_data); /* enc mode */
3026 attrlen += sizeof(struct isakmp_data);
3032 attrlen += sizeof(struct isakmp_data);
3042 attrlen += sizeof(struct isakmp_data);
3054 attrlen += sizeof(struct isakmp_data);
3063 attrlen += sizeof(struct isakmp_data) + truectxlen;
3067 p = vrealloc(p, p->l + sizeof(*trns) + attrlen);
3132 trns->h.len = htons(sizeof(*trns) + attrlen);
3137 trnsoff += (sizeof(*trns) + attrlen);