Lines Matching refs:avp_hdr
364 struct avp_hdr *new_hdr =
365 (struct avp_hdr *) (buf->start + buf->len - len);
366 struct avp_hdr *old_hdr =
367 (struct avp_hdr *) (buf->start + buf->len - len + 2);
376 ((len - sizeof (struct avp_hdr) + 1) / 16 + 1) * 16 +
377 sizeof (struct avp_hdr);
383 old_hdr->attr = htons (len - sizeof (struct avp_hdr));
398 ptr = ((char *) new_hdr) + sizeof (struct avp_hdr);
439 struct avp_hdr *old_hdr = (struct avp_hdr *) buf;
440 struct avp_hdr *new_hdr = (struct avp_hdr *) (buf + 2);
443 ptr = ((char *) old_hdr) + sizeof (struct avp_hdr);
494 len = ntohs (new_hdr->attr) + sizeof (struct avp_hdr);