Home
last modified time | relevance | path

Searched refs:th_dport (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/freebsd/netinet/libalias/
H A Dalias.c361 tc->th_dport, tc->th_sport, in IcmpAliasIn2()
945 tc->th_sport, tc->th_dport, in TcpAliasIn()
968 .dport = &tc->th_dport, in TcpAliasIn()
978 alias_port = tc->th_dport; in TcpAliasIn()
1007 accumulate -= tc->th_dport; in TcpAliasIn()
1079 tc->th_dport, pip->ip_p); in TcpAliasOut()
1088 dest_port = tc->th_dport; in TcpAliasOut()
1093 accumulate = tc->th_dport; in TcpAliasOut()
1095 accumulate -= tc->th_dport; in TcpAliasOut()
1106 tc->th_sport, tc->th_dport, in TcpAliasOut()
[all …]
H A Dalias_smedia.c502 if ((ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_1) || in AliasHandleRtspOut()
503 (ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_2)) { in AliasHandleRtspOut()
H A Dalias_ftp.c252 if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { in AliasHandleFtpOut()
314 ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER && in AliasHandleFtpIn()
H A Dalias_skinny.c326 if (ntohs(tc->th_dport) == la->skinnyPort) { in AliasHandleSkinny()
/f-stack/tools/compat/include/netinet/
H A Dtcpip.h51 #define ti_dport ti_t.th_dport
H A Dtcp.h54 u_short th_dport; /* destination port */ member
/f-stack/freebsd/netinet/
H A Dtcpip.h51 #define ti_dport ti_t.th_dport
H A Dtcp_subr.c1353 th->th_dport = inp->inp_fport; in tcpip_fillheaders()
1494 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
1524 nth->th_dport = th->th_dport; in tcp_respond()
1526 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
2498 inp = in_pcblookup(&V_tcbinfo, faddr, th->th_dport, ip->ip_src, in tcp_ctlinput()
2553 inc.inc_fport = th->th_dport; in tcp_ctlinput()
2581 uint16_t th_dport; in tcp6_ctlinput() member
2640 inp = in6_pcblookup(&V_tcbinfo, &ip6->ip6_dst, t_ports.th_dport, in tcp6_ctlinput()
2702 inc.inc_fport = t_ports.th_dport; in tcp6_ctlinput()
3392 sprintf(sp, "]:%i", ntohs(th->th_dport)); in tcp_log_addr()
[all …]
H A Dtcp.h54 u_short th_dport; /* destination port */ member
H A Din_rss.c331 th->th_dport, in rss_mbuf_software_hash_v4()
H A Dtcp_input.c842 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
853 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
858 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
876 ip->ip_dst, th->th_dport, INPLOOKUP_WLOCKPCB, in tcp_input()
887 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
892 th->th_sport, ip->ip_dst, th->th_dport, in tcp_input()
1063 inc.inc_lport = th->th_dport; in tcp_input()
1289 if (th->th_dport == th->th_sport && in tcp_input()
1312 if (th->th_dport == th->th_sport && in tcp_input()
H A Dtcp_lro.c637 le->dest_port = th->th_dport; in tcp_set_le_to_m()
1278 hash += th->th_sport + th->th_dport; in tcp_lro_rx2()
1287 le->dest_port != th->th_dport) in tcp_lro_rx2()
1367 le->dest_port = th->th_dport; in tcp_lro_rx2()
H A Dsiftr.c884 th->th_dport, dir, ss); in siftr_chkpkt()
1070 th->th_sport, th->th_dport, dir, ss); in siftr_chkpkt6()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_raudio_pxy.c298 tcp2->th_dport = htons(dp);
321 tcp2->th_dport = 0; /* XXX - don't specify remote port */
H A Dip_nat6.c919 ((tcphdr_t *)fin->fin_dp)->th_dport = nport;
1504 fin->fin_data[0] = ntohs(tcp->th_dport);
1769 sum2 = ntohs(tcp->th_dport);
1772 tcp->th_dport = htons(sum3);
1775 sum2 = ntohs(tcp->th_dport);
1779 tcp->th_dport = htons(sum3);
2928 tcp->th_dport = nat->nat_ndport;
2935 tcp->th_dport = nat->nat_osport;
3354 tcp->th_dport = nat->nat_ndport;
3361 tcp->th_dport = nat->nat_osport;
H A Dip_rcmd_pxy.c92 aps->aps_dport = tcp->th_dport;
H A Dip_irc_pxy.c410 tcp2->th_dport = 0; /* XXX - don't specify remote port */
H A Dip_nat.c3052 ((tcphdr_t *)fin->fin_dp)->th_dport = nport;
3731 fin->fin_data[0] = ntohs(tcp->th_dport);
3946 sum2 = ntohs(tcp->th_dport);
3949 tcp->th_dport = htons(sum3);
3952 sum2 = ntohs(tcp->th_dport);
3956 tcp->th_dport = htons(sum3);
5264 tcp->th_dport = nat->nat_ndport;
5271 tcp->th_dport = nat->nat_osport;
5742 tcp->th_dport = nat->nat_ndport;
5749 tcp->th_dport = nat->nat_osport;
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_fq_codel.c240 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_codel_classify_flow()
267 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_codel_classify_flow()
H A Dip_fw_log.c339 ntohs(tcp->th_dport)); in ipfw_log()
H A Ddn_sched_fq_pie.c809 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_pie_classify_flow()
836 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_pie_classify_flow()
H A Dip_fw2.c714 th->th_dport = htons(id->dst_port); in ipfw_send_pkt()
717 th->th_dport = htons(id->src_port); in ipfw_send_pkt()
1537 dst_port = TCP(ulp)->th_dport; in ipfw_chk()
1724 dst_port = TCP(ulp)->th_dport; in ipfw_chk()
/f-stack/freebsd/netinet6/
H A Din6_rss.c355 th->th_dport, in rss_mbuf_software_hash_v6()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c2552 th->th_dport = dport; in pf_send_tcp()
2662 pd->src, th->th_dport, th->th_sport, in pf_return()
3112 dport = pd->hdr.tcp->th_dport; in pf_socket_lookup()
3363 dport = th->th_dport; in pf_test_rule()
3439 dport = th->th_dport; in pf_test_rule()
3440 pd->dport = &th->th_dport; in pf_test_rule()
4349 pd->dst, pd->src, th->th_dport, in pf_tcp_track_full()
4473 key.port[1] = th->th_dport; in pf_test_state_tcp()
4478 key.port[0] = th->th_dport; in pf_test_state_tcp()
4609 nk->port[pd->didx] != th->th_dport) in pf_test_state_tcp()
[all …]
/f-stack/freebsd/netipsec/
H A Dipsec.c531 spidx->dst.sin.sin_port = th.th_dport; in ipsec4_get_ulp()
707 spidx->dst.sin6.sin6_port = th.th_dport; in ipsec6_get_ulp()

12