*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
+#include "netdissect-stdinc.h"
#include "netdissect.h"
#include "ethertype.h"
#include "extract.h"
-static const char tstr[] = "[|TIPC]";
#define TIPC_USER_LOW_IMPORTANCE 0
#define TIPC_USER_MEDIUM_IMPORTANCE 1
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
void
uint32_t w0;
u_int user;
+ ndo->ndo_protocol = "tipc";
ap = (const struct tipc_pkthdr *)bp;
ND_TCHECK_4(ap->w0);
w0 = EXTRACT_BE_U_4(ap->w0);
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
-
-/*
- * Local Variables:
- * c-style: bsd
- * End:
- */
-