Lines Matching refs:ndo
322 ip_print_demux(netdissect_options *ndo, in ip_print_demux() argument
343 ipds->advance = esp_print(ndo, ipds->cp, ipds->len, in ip_print_demux()
414 ND_PRINT((ndo, " nd %d", ipds->len)); in ip_print_demux()
431 ip_print(ndo, ipds->cp, ipds->len); in ip_print_demux()
433 ND_PRINT((ndo, " (ipip-proto-4)")); in ip_print_demux()
441 ip6_print(ndo, ipds->cp, ipds->len); in ip_print_demux()
485 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL) in ip_print_demux()
486 ND_PRINT((ndo, " %s", proto->p_name)); in ip_print_demux()
488 ND_PRINT((ndo, " ip-proto-%d", ipds->nh)); in ip_print_demux()
489 ND_PRINT((ndo, " %d", ipds->len)); in ip_print_demux()
495 ip_print_inner(netdissect_options *ndo, in ip_print_inner() argument
509 ip_print_demux(ndo, &ipd); in ip_print_inner()
517 ip_print(netdissect_options *ndo, in ip_print() argument
538 if ((u_char *)(ipds->ip + 1) > ndo->ndo_snapend) { in ip_print()
576 if (ipend < ndo->ndo_snapend) in ip_print()
577 ndo->ndo_snapend = ipend; in ip_print()
623 if (!Kflag && (u_char *)ipds->ip + hlen <= ndo->ndo_snapend) { in ip_print()
651 ip_print_demux(ndo, ipds); in ip_print()
664 if (!ndo->ndo_nflag && (proto = getprotobynumber(ipds->ip->ip_p)) != NULL) in ip_print()