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