]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-raw.c
Use nd_ types, add host-endian extract routines, clean up signed vs. unsigned.
[tcpdump] / print-raw.c
index 83f66b488efa66bbc87a0858b09dab076ff4ccd4..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 "netdissect.h"
 
@@ -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);