Lines Matching refs:ndo
86 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_)
92 if (ndo->ndo_eflag)
93 ND_PRINT((ndo, "(vjc type=IP) "));
96 if (ndo->ndo_eflag)
97 ND_PRINT((ndo, "(vjc type=raw TCP) "));
100 if (ndo->ndo_eflag)
101 ND_PRINT((ndo, "(vjc type=compressed TCP) "));
104 ND_PRINT((ndo, "%c", "?CI?SAWU"[i]));
107 ND_PRINT((ndo, " "));
108 ND_PRINT((ndo, "C=0x%02x ", bp[2]));
109 ND_PRINT((ndo, "sum=0x%04x ", *(const u_short *)&bp[3]));
112 if (ndo->ndo_eflag)
113 ND_PRINT((ndo, "(vjc type=error) "));
116 if (ndo->ndo_eflag)
117 ND_PRINT((ndo, "(vjc type=0x%02x) ", bp[0] & 0xf0));