* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define NETDISSECT_REWORKED
+/* \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.
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);