Home
last modified time | relevance | path

Searched refs:uh_dport (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_udp.c68 ntohs(udp->uh_dport), in interpret_udp()
73 sunrpc = !reservedport(IPPROTO_UDP, ntohs(udp->uh_dport)) && in interpret_udp()
86 pname = getportname(IPPROTO_UDP, ntohs(udp->uh_dport)); in interpret_udp()
94 (void) sprintf(get_line((char *)(uintptr_t)udp->uh_dport - in interpret_udp()
96 ntohs(udp->uh_dport), pname); in interpret_udp()
115 ntohs(udp->uh_dport), in interpret_udp()
H A Dsnoop_icmp.c134 ntohs(orig_uhdr->uh_dport)); in interpret_icmp()
140 ntohs(orig_uhdr->uh_dport)); in interpret_icmp()
493 ntohs(orig_uhdr->uh_dport)); in interpret_icmpv6()
H A Dsnoop_filter.c889 slp_dport = ntohs(udp_h.uh_dport); in want_packet()
/illumos-gate/usr/src/stand/lib/inet/
H A Dudp.c85 return (((struct udphdr *)udphp)->uh_dport); in udp_ports()
139 if (sockets[index].bind.sin_port != udphp->uh_dport) { in udp_input()
142 ntohs(udphp->uh_dport), ntohs( in udp_input()
184 udphp->uh_dport = ogp->igm_saddr.sin_port; in udp_output()
/illumos-gate/usr/src/boot/libsa/
H A Dudp.c85 uh->uh_dport = d->destport; in sendudp()
128 if (uh->uh_dport != d->myport) { in readudp()
132 d->myport, ntohs(uh->uh_dport)); in readudp()
H A Drpc.c287 u_int16_t uh_dport; /* destination port */ in rpc_fromaddr() member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c379 ntohs(up->uh_dport)); in check_reply6()
392 (MAX_PORT + 1) == ntohs(up->uh_dport)) && in check_reply6()
471 Printf("udp_port=%d. ", ntohs(up->uh_dport)); in check_reply6()
488 Printf(" port %d ", ntohs(up->uh_dport)); in check_reply6()
556 Printf(" port %d ", ntohs(up->uh_dport)); in check_reply6()
594 Printf(" port %d", ntohs(up->uh_dport)); in check_reply6()
638 Printf(" port %d", ntohs(up->uh_dport)); in check_reply6()
H A Dping_aux.c347 ntohs(up->uh_dport)); in check_reply()
360 (MAX_PORT + 1) == ntohs(up->uh_dport)) && in check_reply()
439 Printf("udp_port=%d. ", ntohs(up->uh_dport)); in check_reply()
454 Printf(" port %d ", ntohs(up->uh_dport)); in check_reply()
714 Printf(" port %d", ntohs(up->uh_dport)); in check_reply()
773 Printf(" port %d", ntohs(up->uh_dport)); in check_reply()
807 Printf(" port %d", ntohs(up->uh_dport)); in check_reply()
/illumos-gate/usr/src/boot/include/netinet/
H A Dudp.h43 u_short uh_dport; /* destination port */ member
H A Dudp_var.h51 #define ui_dport ui_u.uh_dport
/illumos-gate/usr/src/uts/common/netinet/
H A Dudp.h26 in_port_t uh_dport; /* destination port */ member
H A Dudp_var.h32 #define ui_dport ui_u.uh_dport
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c265 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1)); in send_probe()
270 ((struct sockaddr_in *)to)->sin_port = outudp->uh_dport; in send_probe()
394 up->uh_dport == htons((port + seq) % in check_reply()
H A Dtraceroute_aux6.c484 up->uh_dport == htons((port + seq) % in check_reply6()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c171 dport = uhp->uh_dport; in sfxge_pkthdr_parse()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c391 if (udph->uh_dport != htons(param->port)) in check_icmp_unreach_v4()
488 if (udph->uh_dport != htons(param->port)) in check_icmp_unreach_v6()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c338 udph->uh_dport != client && udph->uh_dport != server) in get_dhcpv4_info()
841 udph->uh_dport != client && udph->uh_dport != server) in get_dhcpv6_info()
H A Dmac_flow.c2346 l4info->l4_dst_port = udph->uh_dport; in flow_transport_accept()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c561 ntohs(udp->uh_dport) != IPPORT_BOOTPS) { in libvarpd_plugin_proxy_dhcp()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_mroute.c3272 switch (ntohs(udp->uh_dport) & 0xc000) { in priority()
3289 ntohs(udp->uh_dport), prio); in priority()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c1794 dest_port = udp_hdr->uh_dport; in qede_hash_get_txq()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1239 mdb_nhconvert(&dport, &udph->uh_dport, sizeof (dport)); in udphdr_print()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c1190 fin->fin_dport = ntohs(udp->uh_dport);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c5138 dest_port = udp_hdr->uh_dport; in ql_tx_hashing()