/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tcp.c | 101 ntohs(tcp->th_dport), ntohs(tcp->th_sport)); in interpret_tcp() 133 sunrpc = !reservedport(IPPROTO_TCP, ntohs(tcp->th_dport)) && in interpret_tcp() 147 pname = getportname(IPPROTO_TCP, ntohs(tcp->th_dport)); in interpret_tcp() 155 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_dport - in interpret_tcp() 157 ntohs(tcp->th_dport), pname); in interpret_tcp() 217 ntohs(tcp->th_sport), ntohs(tcp->th_dport), data, fraglen)) { in interpret_tcp()
|
H A D | snoop_icmp.c | 483 ntohs(orig_thdr->th_dport)); in interpret_icmpv6()
|
H A D | snoop_filter.c | 897 slp_dport = ntohs(tcp_h.th_dport); in want_packet()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | tcpip.h | 32 #define ti_dport ti_t.th_dport
|
H A D | tcp.h | 54 uint16_t th_dport; /* destination port */ member
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printpacket6.c | 39 (void)printf(",%d", ntohs(tcp->th_dport));
|
H A D | printpacket.c | 64 printf(",%d", ntohs(tcp->th_dport));
|
H A D | ipft_tx.c | 278 tcp->th_dport = htons(tx_portnum(last));
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 98 aps->aps_dport = tcp->th_dport; 195 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
H A D | ip_raudio_pxy.c | 318 tcp2->th_dport = htons(dp); 336 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
H A D | ip_irc_pxy.c | 424 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
H A D | ip_ftp_pxy.c | 371 tcp2->th_dport = 0; /* XXX - don't specify remote port */ 730 tcp2->th_dport = htons(port);
|
H A D | ip_rpcb_pxy.c | 1200 tcp.th_dport = htons(port);
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 222 lro->dest_port == tcp->th_dport && in myri10ge_lro_rx() 319 lro->dest_port = tcp->th_dport; in myri10ge_lro_rx()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 707 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 1174 fin->fin_data[0] = ntohs(tcp->th_dport); 1311 if ((tcp->th_dport == nat->nat_oport) && 1323 (tcp->th_dport != nat->nat_outport)) { 1329 psum1 = ntohs(tcp->th_dport); 1331 tcp->th_dport = nat->nat_outport; 2139 (np->in_dport != tcp->th_dport)) 2362 dport = tcp->th_dport; 2547 tcp->th_dport = nat->nat_inport;
|
H A D | ip_nat.c | 2490 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 2956 fin->fin_data[0] = ntohs(tcp->th_dport); 3097 if ((tcp->th_dport == nat->nat_oport) && 3109 (tcp->th_dport != nat->nat_outport)) { 3115 psum1 = ntohs(tcp->th_dport); 3117 tcp->th_dport = nat->nat_outport; 3977 (np->in_dport != tcp->th_dport)) 4247 dport = tcp->th_dport; 4457 tcp->th_dport = nat->nat_inport;
|
H A D | ip_fil_solaris.c | 1351 tcp2->th_dport = tcp->th_sport; 1352 tcp2->th_sport = tcp->th_dport; 2773 tcp->th_sport = tcp->th_dport; 2774 tcp->th_dport = tmp_port;
|
H A D | ip_state.c | 1389 hv += tcp->th_dport; 2549 dport = tcp->th_dport; 4146 dport = tcp->th_dport;
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 152 dport = thp->th_dport; in sfxge_pkthdr_parse()
|
H A D | sfxge_rx.c | 1591 srfp->srf_dport != thp->th_dport) in sfxge_rx_qpacket_coalesce() 1629 thp->th_dport, in sfxge_rx_qpacket_coalesce() 1657 srfp->srf_dport = thp->th_dport; in sfxge_rx_qpacket_coalesce() 1676 srfp->srf_dport != thp->th_dport) in sfxge_rx_qpacket_coalesce()
|
H A D | sfxge_tx.c | 2831 thp->th_dport, in sfxge_tx_packet_add()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 522 if (tcp->th_dport != a->ac_dport)
|
H A D | ipmon.c | 1137 portname(res, proto, (u_int)tp->th_dport), 1205 (u_int)tp->th_dport),
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_fp.c | 1789 dest_port = tcp_hdr->th_dport; in qede_hash_get_txq()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 2336 l4info->l4_dst_port = tcph->th_dport; in flow_transport_accept()
|