#ifdef DLT_IEEE802_15_4_NOFCS
{ ieee802_15_4_if_print, DLT_IEEE802_15_4_NOFCS },
#endif
+#ifdef DLT_IEEE802_15_4_TAP
+ { ieee802_15_4_tap_if_print, DLT_IEEE802_15_4_TAP },
+#endif
#ifdef DLT_PPI
{ ppi_if_print, DLT_PPI },
#endif
#endif
#ifdef DLT_PPP_SERIAL
{ ppp_hdlc_if_print, DLT_PPP_SERIAL },
+#endif
+#ifdef DLT_DSA_TAG_BRCM
+ { brcm_tag_if_print, DLT_DSA_TAG_BRCM },
+#endif
+#ifdef DLT_DSA_TAG_BRCM_PREPEND
+ { brcm_tag_prepend_if_print, DLT_DSA_TAG_BRCM_PREPEND },
#endif
{ NULL, 0 },
};
u_int hdrlen;
int invalid_header = 0;
- if(ndo->ndo_packet_number)
+ if (ndo->ndo_packet_number)
ND_PRINT("%5u ", packets_captured);
/* Sanity checks on packet length / capture length */
- if(h->caplen == 0) {
+ if (h->caplen == 0) {
invalid_header = 1;
ND_PRINT("[Invalid header: caplen==0");
}
{
va_list ap;
- if(ndo->program_name)
+ if (ndo->program_name)
(void)fprintf(stderr, "%s: ", ndo->program_name);
va_start(ap, fmt);
(void)vfprintf(stderr, fmt, ap);
{
va_list ap;
- if(ndo->program_name)
+ if (ndo->program_name)
(void)fprintf(stderr, "%s: ", ndo->program_name);
(void)fprintf(stderr, "WARNING: ");
va_start(ap, fmt);