Lines Matching refs:ah
1 /* $NetBSD: print-ah.c,v 1.4 1996/05/20 00:41:16 fvdl Exp $ */
26 "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.22 2003-11-19 00:36:06 guy Exp $ (LBL)";
37 #include "ah.h"
46 register const struct ah *ah;
51 ah = (const struct ah *)bp;
54 TCHECK(*ah);
56 sumlen = ah->ah_len << 2;
57 spi = EXTRACT_32BITS(&ah->ah_spi);
59 printf("AH(spi=0x%08x", spi);
62 printf(",seq=0x%x", EXTRACT_32BITS(ah + 1));
63 if (bp + sizeof(struct ah) + sumlen > ep)
67 return sizeof(struct ah) + sumlen;
69 fputs("[|AH]", stdout);