/* This is for DLT_NETANALYZER, which has a 4-byte pseudo-header before the Ethernet header.  */
u_int netanalyzer_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
/* This is for DLT_NETANALYZER, which has a 4-byte pseudo-header before the Ethernet header.  */
u_int netanalyzer_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
{
	if (h->len < 4 || h->caplen < 4) {
		ND_PRINT((ndo, "[|netanalyzer]"));
		return (h->caplen);
	}
	return (4 + ether_print(ndo, p + 4, h->len - 4, h->caplen - 4, NULL, NULL));
}