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 $	*/
32 #include "ah.h"
40 register const struct ah *ah;
43 ah = (const struct ah *)bp;
45 ND_TCHECK(*ah);
47 sumlen = ah->ah_len << 2;
49 ND_PRINT((ndo, "AH(spi=0x%08x", EXTRACT_32BITS(&ah->ah_spi)));
52 ND_TCHECK_32BITS(ah + 1);
53 ND_PRINT((ndo, ",seq=0x%x", EXTRACT_32BITS(ah + 1)));
54 if (!ND_TTEST2(*bp, sizeof(struct ah) + sumlen)) {
60 return sizeof(struct ah) + sumlen;
62 ND_PRINT((ndo, "[|AH]"));