]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-raw.c
SUNRPC: Remove an unused structure
[tcpdump] / print-raw.c
index 74d63639958937045b30717ba09d4d161122e9d5..9f0068705c0d47badfee7ac93c8e7ad9d0e2b29c 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+/* \summary: Raw IP printer */
+
 #ifdef HAVE_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);