Lines Matching refs:ndo
68 dvmrp_print(netdissect_options *ndo, in dvmrp_print() argument
74 ep = (const u_char *)ndo->ndo_snapend; in dvmrp_print()
88 ND_PRINT((ndo, " Probe")); in dvmrp_print()
89 if (ndo->ndo_vflag) { in dvmrp_print()
90 if (print_probe(ndo, bp, ep, len) < 0) in dvmrp_print()
96 ND_PRINT((ndo, " Report")); in dvmrp_print()
97 if (ndo->ndo_vflag > 1) { in dvmrp_print()
98 if (print_report(ndo, bp, ep, len) < 0) in dvmrp_print()
104 ND_PRINT((ndo, " Ask-neighbors(old)")); in dvmrp_print()
108 ND_PRINT((ndo, " Neighbors(old)")); in dvmrp_print()
109 if (print_neighbors(ndo, bp, ep, len) < 0) in dvmrp_print()
114 ND_PRINT((ndo, " Ask-neighbors2")); in dvmrp_print()
118 ND_PRINT((ndo, " Neighbors2")); in dvmrp_print()
128 if (print_neighbors2(ndo, bp, ep, len) < 0) in dvmrp_print()
133 ND_PRINT((ndo, " Prune")); in dvmrp_print()
134 if (print_prune(ndo, bp) < 0) in dvmrp_print()
139 ND_PRINT((ndo, " Graft")); in dvmrp_print()
140 if (print_graft(ndo, bp) < 0) in dvmrp_print()
145 ND_PRINT((ndo, " Graft-ACK")); in dvmrp_print()
146 if (print_graft_ack(ndo, bp) < 0) in dvmrp_print()
151 ND_PRINT((ndo, " [type %d]", type)); in dvmrp_print()
157 ND_PRINT((ndo, "[|dvmrp]")); in dvmrp_print()
162 print_report(netdissect_options *ndo, in print_report() argument
172 ND_PRINT((ndo, " [|]")); in print_report()
185 ND_PRINT((ndo, "\n\tMask %s", intoa(htonl(mask)))); in print_report()
190 ND_PRINT((ndo, " [|]")); in print_report()
194 ND_PRINT((ndo, "\n\t [Truncated Report]")); in print_report()
209 ND_PRINT((ndo, "\n\t %s metric %d", intoa(htonl(origin)), in print_report()
220 print_probe(netdissect_options *ndo, in print_probe() argument
229 ND_PRINT((ndo, " [|}")); in print_probe()
235 ND_PRINT((ndo, ndo->ndo_vflag > 1 ? "\n\t" : " ")); in print_probe()
236 ND_PRINT((ndo, "genid %u", genid)); in print_probe()
237 if (ndo->ndo_vflag < 2) in print_probe()
242 ND_PRINT((ndo, "\n\tneighbor %s", ipaddr_string(ndo, bp))); in print_probe()
251 print_neighbors(netdissect_options *ndo, in print_neighbors() argument
270 ND_PRINT((ndo, " [%s ->", ipaddr_string(ndo, laddr))); in print_neighbors()
271 ND_PRINT((ndo, " %s, (%d/%d)]", in print_neighbors()
272 ipaddr_string(ndo, bp), metric, thresh)); in print_neighbors()
283 print_neighbors2(netdissect_options *ndo, in print_neighbors2() argument
291 ND_PRINT((ndo, " (v %d.%d):", in print_neighbors2()
305 ND_PRINT((ndo, " [%s -> ", ipaddr_string(ndo, laddr))); in print_neighbors2()
306 ND_PRINT((ndo, "%s (%d/%d", ipaddr_string(ndo, bp), in print_neighbors2()
309 ND_PRINT((ndo, "/tunnel")); in print_neighbors2()
311 ND_PRINT((ndo, "/srcrt")); in print_neighbors2()
313 ND_PRINT((ndo, "/querier")); in print_neighbors2()
315 ND_PRINT((ndo, "/disabled")); in print_neighbors2()
317 ND_PRINT((ndo, "/down")); in print_neighbors2()
318 ND_PRINT((ndo, ")]")); in print_neighbors2()
323 ND_PRINT((ndo, " [|]")); in print_neighbors2()
333 print_prune(netdissect_options *ndo, in print_prune() argument
337 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_prune()
339 ND_PRINT((ndo, " timer ")); in print_prune()
340 relts_print(ndo, EXTRACT_32BITS(bp)); in print_prune()
347 print_graft(netdissect_options *ndo, in print_graft() argument
351 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_graft()
358 print_graft_ack(netdissect_options *ndo, in print_graft_ack() argument
362 ND_PRINT((ndo, " src %s grp %s", ipaddr_string(ndo, bp), ipaddr_string(ndo, bp + 4))); in print_graft_ack()