Home
last modified time | relevance | path

Searched refs:th_sport (Results 1 – 23 of 23) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tcp.c101 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 Dsnoop_filter.c893 slp_sport = ntohs(tcp_h.th_sport); in want_packet()
/titanic_50/usr/src/uts/common/netinet/
H A Dtcpip.h32 #define ti_sport ti_t.th_sport
H A Dtcp.h52 uint16_t th_sport; /* source port */ member
/titanic_50/usr/src/cmd/ipf/lib/common/
H A Dprintpacket6.c30 (void)printf(",%d", ntohs(tcp->th_sport));
H A Dprintpacket.c59 printf(",%d", ntohs(tcp->th_sport));
H A Dipft_tx.c260 tcp->th_sport = htons(tx_portnum(last));
/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c97 aps->aps_sport = tcp->th_sport;
194 tcp2->th_sport = htons(sp);
H A Dip_raudio_pxy.c317 tcp2->th_sport = htons(sp);
335 tcp2->th_sport = htons(sp);
H A Dip_irc_pxy.c423 tcp2->th_sport = sp;
H A Dip_ftp_pxy.c368 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 Dmyri10ge_lro.c226 if (lro->source_port == tcp->th_sport && in myri10ge_lro_rx()
323 lro->source_port = tcp->th_sport; in myri10ge_lro_rx()
H A Dmyri10ge.c1735 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 Dip_nat6.c521 ((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 Dip_fil_solaris.c1137 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 Dip_nat.c2312 ((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 Dip_state.c1390 hv += tcp->th_sport;
2550 sport = tcp->th_sport;
4147 sport = tcp->th_sport;
H A Dfil.c1051 fin->fin_sport = ntohs(tcp->th_sport);
/titanic_50/usr/src/cmd/ipf/tools/
H A Dipmon_y.y571 if (tcp->th_sport != a->ac_sport)
H A Dipmon.c1133 portname(res, proto, (u_int)tp->th_sport));
1200 (u_int)tp->th_sport));
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_flow.c2334 l4info->l4_src_port = tcph->th_sport; in flow_transport_accept()
/titanic_50/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c5131 src_port = tcp_hdr->th_sport; in ql_tx_hashing()