]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-raw.c
RIPng: Use more ND_TCHECK_SIZE() macros
[tcpdump] / print-raw.c
index 74d63639958937045b30717ba09d4d161122e9d5..23ced7b07fe4b7a07dacc695c0d196ae5705d8d9 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+/* \summary: Raw IP printer */
+
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
-#include <tcpdump-stdinc.h>
+#include "netdissect-stdinc.h"
 
-#include "interface.h"
+#include "netdissect.h"
 
 /*
  * The DLT_RAW packet has no header. It contains a raw IP packet.
@@ -35,7 +37,7 @@ u_int
 raw_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
 {
        if (ndo->ndo_eflag)
-               ND_PRINT((ndo, "ip: "));
+               ND_PRINT("ip: ");
 
        ipN_print(ndo, p, h->len);