/* \summary: OpenBSD IPsec encapsulation BPF layer printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
const struct pcap_pkthdr *h, const u_char *p)
{
u_int length = h->len;
- u_int caplen = h->caplen;
u_int af, flags;
const struct enchdr *hdr;
ND_PRINT("SPI 0x%08x: ", GET_BE_U_4(hdr->spi));
length -= ENC_HDRLEN;
- caplen -= ENC_HDRLEN;
p += ENC_HDRLEN;
switch (af) {