Lines Matching refs:nh
317 u_char nh; member
329 switch (ipds->nh) { in ip_print_demux()
332 ipds->nh = *ipds->cp; in ip_print_demux()
350 ipds->nh = enh & 0xff; in ip_print_demux()
362 ipds->nh = enh & 0xff; in ip_print_demux()
485 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL) in ip_print_demux()
488 ND_PRINT((ndo, " ip-proto-%d", ipds->nh)); in ip_print_demux()
497 u_int length, u_int nh, in ip_print_inner() argument
506 ipd.nh = nh; in ip_print_inner()
643 ipds->nh = ipds->ip->ip_p; in ip_print()
645 if (ipds->nh != IPPROTO_TCP && ipds->nh != IPPROTO_UDP && in ip_print()
646 ipds->nh != IPPROTO_SCTP && ipds->nh != IPPROTO_DCCP) { in ip_print()