Searched refs:th_sport (Results 1 – 23 of 23) sorted by relevance
/titanic_50/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() 213 ntohs(tcp->th_sport), in interpret_tcp()
|
H A D | snoop_filter.c | 893 slp_sport = ntohs(tcp_h.th_sport); in want_packet()
|
/titanic_50/usr/src/uts/common/netinet/ |
H A D | tcpip.h | 32 #define ti_sport ti_t.th_sport
|
H A D | tcp.h | 52 uint16_t th_sport; /* source port */ member
|
/titanic_50/usr/src/cmd/ipf/lib/common/ |
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 | 260 tcp->th_sport = htons(tx_portnum(last));
|
/titanic_50/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 */
|
/titanic_50/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 226 if (lro->source_port == tcp->th_sport && in myri10ge_lro_rx() 323 lro->source_port = tcp->th_sport; in myri10ge_lro_rx()
|
H A D | myri10ge.c | 1735 src = ntohs(hdr->th_sport); in myri10ge_toeplitz_send_hash() 1766 hash_val += ntohs(hdr->th_sport) & 0xff; in myri10ge_simple_send_hash()
|
/titanic_50/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 | 1137 tcp2->th_dport = tcp->th_sport; 1138 tcp2->th_sport = tcp->th_dport; 2446 tmp_port = tcp->th_sport; 2447 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;
|
H A D | fil.c | 1051 fin->fin_sport = ntohs(tcp->th_sport);
|
/titanic_50/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));
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 2334 l4info->l4_src_port = tcph->th_sport; in flow_transport_accept()
|
/titanic_50/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 5131 src_port = tcp_hdr->th_sport; in ql_tx_hashing()
|