Lines Matching refs:ndo

69 dvmrp_print(netdissect_options *ndo,  in dvmrp_print()  argument
75 ep = (const u_char *)ndo->ndo_snapend; in dvmrp_print()
89 ND_PRINT((ndo, " Probe")); in dvmrp_print()
90 if (ndo->ndo_vflag) { in dvmrp_print()
91 if (print_probe(ndo, bp, ep, len) < 0) in dvmrp_print()
97 ND_PRINT((ndo, " Report")); in dvmrp_print()
98 if (ndo->ndo_vflag > 1) { in dvmrp_print()
99 if (print_report(ndo, bp, ep, len) < 0) in dvmrp_print()
105 ND_PRINT((ndo, " Ask-neighbors(old)")); in dvmrp_print()
109 ND_PRINT((ndo, " Neighbors(old)")); in dvmrp_print()
110 if (print_neighbors(ndo, bp, ep, len) < 0) in dvmrp_print()
115 ND_PRINT((ndo, " Ask-neighbors2")); in dvmrp_print()
119 ND_PRINT((ndo, " Neighbors2")); in dvmrp_print()
129 if (print_neighbors2(ndo, bp, ep, len) < 0) in dvmrp_print()
134 ND_PRINT((ndo, " Prune")); in dvmrp_print()
135 if (print_prune(ndo, bp) < 0) in dvmrp_print()
140 ND_PRINT((ndo, " Graft")); in dvmrp_print()
141 if (print_graft(ndo, bp) < 0) in dvmrp_print()
146 ND_PRINT((ndo, " Graft-ACK")); in dvmrp_print()
147 if (print_graft_ack(ndo, bp) < 0) in dvmrp_print()
152 ND_PRINT((ndo, " [type %d]", type)); in dvmrp_print()
158 ND_PRINT((ndo, "[|dvmrp]")); in dvmrp_print()
163 print_report(netdissect_options *ndo, in print_report() argument
173 ND_PRINT((ndo, " [|]")); in print_report()
186 ND_PRINT((ndo, "\n\tMask %s", intoa(htonl(mask)))); in print_report()
191 ND_PRINT((ndo, " [|]")); in print_report()
195 ND_PRINT((ndo, "\n\t [Truncated Report]")); in print_report()
210 ND_PRINT((ndo, "\n\t %s metric %d", intoa(htonl(origin)), in print_report()
221 print_probe(netdissect_options *ndo, in print_probe() argument
230 ND_PRINT((ndo, " [|}")); in print_probe()
236 ND_PRINT((ndo, ndo->ndo_vflag > 1 ? "\n\t" : " ")); in print_probe()
237 ND_PRINT((ndo, "genid %u", genid)); in print_probe()
238 if (ndo->ndo_vflag < 2) in print_probe()
243 ND_PRINT((ndo, "\n\tneighbor %s", ipaddr_string(ndo, bp))); in print_probe()
252 print_neighbors(netdissect_options *ndo, in print_neighbors() argument
271 ND_PRINT((ndo, " [%s ->", ipaddr_string(ndo, laddr))); in print_neighbors()
272 ND_PRINT((ndo, " %s, (%d/%d)]", in print_neighbors()
273 ipaddr_string(ndo, bp), metric, thresh)); in print_neighbors()
284 print_neighbors2(netdissect_options *ndo, in print_neighbors2() argument
292 ND_PRINT((ndo, " (v %d.%d):", in print_neighbors2()
306 ND_PRINT((ndo, " [%s -> ", ipaddr_string(ndo, laddr))); in print_neighbors2()
307 ND_PRINT((ndo, "%s (%d/%d", ipaddr_string(ndo, bp), in print_neighbors2()
310 ND_PRINT((ndo, "/tunnel")); in print_neighbors2()
312 ND_PRINT((ndo, "/srcrt")); in print_neighbors2()
314 ND_PRINT((ndo, "/querier")); in print_neighbors2()
316 ND_PRINT((ndo, "/disabled")); in print_neighbors2()
318 ND_PRINT((ndo, "/down")); in print_neighbors2()
319 ND_PRINT((ndo, ")]")); in print_neighbors2()
324 ND_PRINT((ndo, " [|]")); in print_neighbors2()
334 print_prune(netdissect_options *ndo, in print_prune() argument
338 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_prune()
340 ND_PRINT((ndo, " timer ")); in print_prune()
341 unsigned_relts_print(ndo, EXTRACT_32BITS(bp)); in print_prune()
348 print_graft(netdissect_options *ndo, in print_graft() argument
352 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_graft()
359 print_graft_ack(netdissect_options *ndo, in print_graft_ack() argument
363 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_graft_ack()