Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:ah

1 /*	$NetBSD: print-ah.c,v 1.4 1996/05/20 00:41:16 fvdl Exp $	*/
31 #include "ah.h"
39 register const struct ah *ah;
44 ah = (const struct ah *)bp;
47 ND_TCHECK(*ah);
49 sumlen = ah->ah_len << 2;
50 spi = EXTRACT_32BITS(&ah->ah_spi);
52 ND_PRINT((ndo, "AH(spi=0x%08x", spi));
55 ND_PRINT((ndo, ",seq=0x%x", EXTRACT_32BITS(ah + 1)));
56 if (bp + sizeof(struct ah) + sumlen > ep)
60 return sizeof(struct ah) + sumlen;
62 ND_PRINT((ndo, "[|AH]"));