Lines Matching defs:ahdr
250 struct ah *ahdr;
252 ahdr = (struct ah *)ahdrpos;
253 ahsumpos = (u_char *)(ahdr + 1);
254 ahdr->ah_len = plen >> 2;
255 ahdr->ah_nxt = ip->ip_p;
256 ahdr->ah_reserve = htons(0);
257 ahdr->ah_spi = spi;
258 bzero(ahdr + 1, plen);
260 struct newah *ahdr;
262 ahdr = (struct newah *)ahdrpos;
263 ahsumpos = (u_char *)(ahdr + 1);
264 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
265 ahdr->ah_nxt = ip->ip_p;
266 ahdr->ah_reserve = htons(0);
267 ahdr->ah_spi = spi;
286 ahdr->ah_seq = htonl(sav->replay->count);
287 bzero(ahdr + 1, plen);
458 struct ah *ahdr = mtod(mah, struct ah *);
461 ahsumpos = (u_char *)(ahdr + 1);
462 ahdr->ah_nxt = *nexthdrp;
464 ahdr->ah_len = plen >> 2;
465 ahdr->ah_reserve = htons(0);
466 ahdr->ah_spi = spi;
467 bzero(ahdr + 1, plen);
469 struct newah *ahdr = mtod(mah, struct newah *);
472 ahsumpos = (u_char *)(ahdr + 1);
473 ahdr->ah_nxt = *nexthdrp;
475 ahdr->ah_len = (plen >> 2) + 1; /* plus one for seq# */
476 ahdr->ah_reserve = htons(0);
477 ahdr->ah_spi = spi;
496 ahdr->ah_seq = htonl(sav->replay->count);
497 bzero(ahdr + 1, plen);