Lines Matching refs:attrlen
2730 int trnslen, attrlen; local
2743 attrlen = setph1attr(sa, p);
2744 trnslen += attrlen;
2746 p += attrlen;
2760 int attrlen = 0; local
2765 attrlen += sizeof(struct isakmp_data)
2768 attrlen += sizeof(lifetime);
2786 attrlen += sizeof(struct isakmp_data)
2789 attrlen += sizeof(lifebyte);
2805 attrlen += sizeof(struct isakmp_data);
2810 attrlen += sizeof(struct isakmp_data);
2822 attrlen += sizeof(struct isakmp_data);
2827 attrlen += sizeof(struct isakmp_data);
2841 attrlen += sizeof(struct isakmp_data);
2850 attrlen += sizeof(struct isakmp_data);
2864 attrlen += sizeof(struct isakmp_data);
2873 attrlen += sa->gssid->l;
2875 attrlen += sa->gssid->l * 2;
2899 attrlen -= sa->gssid->l * 2;
2920 attrlen -= sa->gssid->l * 2;
2937 return attrlen;
2950 int attrlen; local
3015 attrlen = 0;
3017 attrlen += sizeof(struct isakmp_data)
3020 attrlen += sizeof(u_int32_t);
3023 attrlen += sizeof(struct isakmp_data)
3026 attrlen += sizeof(u_int32_t);
3028 attrlen += sizeof(struct isakmp_data); /* enc mode */
3030 attrlen += sizeof(struct isakmp_data);
3036 attrlen += sizeof(struct isakmp_data);
3046 attrlen += sizeof(struct isakmp_data);
3058 attrlen += sizeof(struct isakmp_data);
3067 attrlen += sizeof(struct isakmp_data) + truectxlen;
3071 p = vrealloc(p, p->l + sizeof(*trns) + attrlen);
3136 trns->h.len = htons(sizeof(*trns) + attrlen);
3141 trnsoff += (sizeof(*trns) + attrlen);