Lines Matching refs:ndo
185 atmarp_addr_print(netdissect_options *ndo, in atmarp_addr_print() argument
190 ND_PRINT((ndo, "<No address>")); in atmarp_addr_print()
192 ND_PRINT((ndo, "%s", linkaddr_string(ha, LINKADDR_ATM, ha_len))); in atmarp_addr_print()
194 ND_PRINT((ndo, ",%s", in atmarp_addr_print()
200 atmarp_print(netdissect_options *ndo, in atmarp_print() argument
214 ND_PRINT((ndo, "[|ARP]")); in atmarp_print()
219 if (!ndo->ndo_eflag) { in atmarp_print()
220 ND_PRINT((ndo, "ARP, ")); in atmarp_print()
226 ndo->ndo_vflag) { in atmarp_print()
227 ND_PRINT((ndo, "%s, %s (len %u/%u)", in atmarp_print()
234 if (!ndo->ndo_vflag) { in atmarp_print()
241 ndo->ndo_vflag ? ", " : "", in atmarp_print()
247 ND_PRINT((ndo, "who-has %s", ipaddr_string(ATMTPA(ap)))); in atmarp_print()
249 ND_PRINT((ndo, " (")); in atmarp_print()
250 atmarp_addr_print(ndo, ATMTHA(ap), ATMTHRD_LEN(ap), in atmarp_print()
252 ND_PRINT((ndo, ")")); in atmarp_print()
254 ND_PRINT((ndo, "tell %s", ipaddr_string(ATMSPA(ap)))); in atmarp_print()
258 ND_PRINT((ndo, "%s is-at ", ipaddr_string(ATMSPA(ap)))); in atmarp_print()
259 atmarp_addr_print(ndo, ATMSHA(ap), ATMSHRD_LEN(ap), ATMSSA(ap), in atmarp_print()
264 ND_PRINT((ndo, "who-is ")); in atmarp_print()
265 atmarp_addr_print(ndo, ATMTHA(ap), ATMTHRD_LEN(ap), ATMTSA(ap), in atmarp_print()
267 ND_PRINT((ndo, " tell ")); in atmarp_print()
268 atmarp_addr_print(ndo, ATMSHA(ap), ATMSHRD_LEN(ap), ATMSSA(ap), in atmarp_print()
273 atmarp_addr_print(ndo, ATMSHA(ap), ATMSHRD_LEN(ap), ATMSSA(ap), in atmarp_print()
275 ND_PRINT((ndo, "at %s", ipaddr_string(ATMSPA(ap)))); in atmarp_print()
279 ND_PRINT((ndo, "for %s", ipaddr_string(ATMSPA(ap)))); in atmarp_print()
288 ND_PRINT((ndo, ", length %u", length)); in atmarp_print()
292 ND_PRINT((ndo, "[|ARP]")); in atmarp_print()
296 arp_print(netdissect_options *ndo, in arp_print() argument
317 atmarp_print(ndo, bp, length, caplen); in arp_print()
328 ND_PRINT((ndo, "[|ARP]")); in arp_print()
333 if (!ndo->ndo_eflag) { in arp_print()
334 ND_PRINT((ndo, "ARP, ")); in arp_print()
341 ndo->ndo_vflag) { in arp_print()
342 ND_PRINT((ndo, "%s (len %u), %s (len %u)", in arp_print()
349 if (!ndo->ndo_vflag) { in arp_print()
356 ndo->ndo_vflag ? ", " : "", in arp_print()
362 ND_PRINT((ndo, "who-has %s", ipaddr_string(TPA(ap)))); in arp_print()
364 ND_PRINT((ndo, " (%s)", in arp_print()
366 ND_PRINT((ndo, " tell %s", ipaddr_string(SPA(ap)))); in arp_print()
370 ND_PRINT((ndo, "%s is-at %s", in arp_print()
376 ND_PRINT((ndo, "who-is %s tell %s", in arp_print()
382 ND_PRINT((ndo, "%s at %s", in arp_print()
388 ND_PRINT((ndo, "who-is %s tell %s", in arp_print()
394 ND_PRINT((ndo,"%s at %s", in arp_print()
405 ND_PRINT((ndo, ", length %u", length)); in arp_print()
409 ND_PRINT((ndo, "[|ARP]")); in arp_print()