Home
last modified time | relevance | path

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

12

/illumos-gate/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()
217 ntohs(tcp->th_sport), ntohs(tcp->th_dport), data, fraglen)) { in interpret_tcp()
H A Dsnoop_filter.c896 slp_sport = ntohs(tcp_h.th_sport); in want_packet()
/illumos-gate/usr/src/uts/common/netinet/
H A Dtcpip.h31 #define ti_sport ti_t.th_sport
H A Dtcp.h53 uint16_t th_sport; /* source port */ member
/illumos-gate/usr/src/cmd/ipf/lib/
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.c258 tcp->th_sport = htons(tx_portnum(last));
/illumos-gate/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 */
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c221 if (lro->source_port == tcp->th_sport && in myri10ge_lro_rx()
318 lro->source_port = tcp->th_sport; in myri10ge_lro_rx()
H A Dmyri10ge.c1729 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 Dsfxge_tcp.c153 sport = thp->th_sport; in sfxge_pkthdr_parse()
H A Dsfxge_rx.c1590 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 Dsfxge_tx.c2833 thp->th_sport, hash); in sfxge_tx_packet_add()
/illumos-gate/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.c1351 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 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;
/illumos-gate/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));
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c1788 src_port = tcp_hdr->th_sport; in qede_hash_get_txq()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c2335 l4info->l4_src_port = tcph->th_sport; in flow_transport_accept()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1179 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print()

12