/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() 134 !reservedport(IPPROTO_TCP, ntohs(tcp->th_sport)) && in interpret_tcp() 141 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_sport - in interpret_tcp() 142 dlc_header, 2), "Source port = %d", ntohs(tcp->th_sport)); in interpret_tcp() 217 ntohs(tcp->th_sport), ntohs(tcp->th_dport), data, fraglen)) { in interpret_tcp()
|
H A D | snoop_filter.c | 896 slp_sport = ntohs(tcp_h.th_sport); in want_packet()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | tcpip.h | 31 #define ti_sport ti_t.th_sport
|
H A D | tcp.h | 53 uint16_t th_sport; /* source port */ member
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printpacket6.c | 30 (void)printf(",%d", ntohs(tcp->th_sport));
|
H A D | printpacket.c | 59 printf(",%d", ntohs(tcp->th_sport));
|
H A D | ipft_tx.c | 258 tcp->th_sport = htons(tx_portnum(last));
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 97 aps->aps_sport = tcp->th_sport; 194 tcp2->th_sport = htons(sp);
|
H A D | ip_raudio_pxy.c | 317 tcp2->th_sport = htons(sp); 335 tcp2->th_sport = htons(sp);
|
H A D | ip_irc_pxy.c | 423 tcp2->th_sport = sp;
|
H A D | ip_ftp_pxy.c | 368 tcp2->th_sport = htons(sp); 725 tcp2->th_sport = 0; /* XXX - fake it for nat_new */
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 221 if (lro->source_port == tcp->th_sport && in myri10ge_lro_rx() 318 lro->source_port = tcp->th_sport; in myri10ge_lro_rx()
|
H A D | myri10ge.c | 1729 src = ntohs(hdr->th_sport); in myri10ge_toeplitz_send_hash() 1760 hash_val += ntohs(hdr->th_sport) & 0xff; in myri10ge_simple_send_hash()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 153 sport = thp->th_sport; in sfxge_pkthdr_parse()
|
H A D | sfxge_rx.c | 1590 if (srfp->srf_sport != thp->th_sport || in sfxge_rx_qpacket_coalesce() 1627 thp->th_sport, in sfxge_rx_qpacket_coalesce() 1656 srfp->srf_sport = thp->th_sport; in sfxge_rx_qpacket_coalesce() 1675 if (srfp->srf_sport != thp->th_sport || in sfxge_rx_qpacket_coalesce()
|
H A D | sfxge_tx.c | 2833 thp->th_sport, hash); in sfxge_tx_packet_add()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 521 ((tcphdr_t *)fin->fin_dp)->th_sport = port; 1175 fin->fin_data[1] = ntohs(tcp->th_sport); 1312 (tcp->th_sport != nat->nat_inport)) { 1318 psum1 = ntohs(tcp->th_sport); 1320 tcp->th_sport = nat->nat_inport; 1322 } else if ((tcp->th_sport == nat->nat_oport) && 2235 tcp->th_sport = nat->nat_outport;
|
H A D | ip_fil_solaris.c | 1351 tcp2->th_dport = tcp->th_sport; 1352 tcp2->th_sport = tcp->th_dport; 2772 tmp_port = tcp->th_sport; 2773 tcp->th_sport = tcp->th_dport;
|
H A D | ip_nat.c | 2312 ((tcphdr_t *)fin->fin_dp)->th_sport = port; 2957 fin->fin_data[1] = ntohs(tcp->th_sport); 3098 (tcp->th_sport != nat->nat_inport)) { 3104 psum1 = ntohs(tcp->th_sport); 3106 tcp->th_sport = nat->nat_inport; 3108 } else if ((tcp->th_sport == nat->nat_oport) && 4123 tcp->th_sport = nat->nat_outport;
|
H A D | ip_state.c | 1390 hv += tcp->th_sport; 2550 sport = tcp->th_sport; 4147 sport = tcp->th_sport;
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 571 if (tcp->th_sport != a->ac_sport)
|
H A D | ipmon.c | 1133 portname(res, proto, (u_int)tp->th_sport)); 1200 (u_int)tp->th_sport));
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_fp.c | 1788 src_port = tcp_hdr->th_sport; in qede_hash_get_txq()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 2335 l4info->l4_src_port = tcph->th_sport; in flow_transport_accept()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1179 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print()
|