| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias.c | 361 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 D | alias_smedia.c | 502 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 D | alias_ftp.c | 252 if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { in AliasHandleFtpOut() 314 ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER && in AliasHandleFtpIn()
|
| H A D | alias_skinny.c | 326 if (ntohs(tc->th_dport) == la->skinnyPort) { in AliasHandleSkinny()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcpip.h | 51 #define ti_dport ti_t.th_dport
|
| H A D | tcp.h | 54 u_short th_dport; /* destination port */ member
|
| /f-stack/freebsd/netinet/ |
| H A D | tcpip.h | 51 #define ti_dport ti_t.th_dport
|
| H A D | tcp_subr.c | 1353 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 D | tcp.h | 54 u_short th_dport; /* destination port */ member
|
| H A D | in_rss.c | 331 th->th_dport, in rss_mbuf_software_hash_v4()
|
| H A D | tcp_input.c | 842 &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 D | tcp_lro.c | 637 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 D | siftr.c | 884 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 D | ip_raudio_pxy.c | 298 tcp2->th_dport = htons(dp); 321 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
| H A D | ip_nat6.c | 919 ((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 D | ip_rcmd_pxy.c | 92 aps->aps_dport = tcp->th_dport;
|
| H A D | ip_irc_pxy.c | 410 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
| H A D | ip_nat.c | 3052 ((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 D | dn_sched_fq_codel.c | 240 *((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 D | ip_fw_log.c | 339 ntohs(tcp->th_dport)); in ipfw_log()
|
| H A D | dn_sched_fq_pie.c | 809 *((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 D | ip_fw2.c | 714 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 D | in6_rss.c | 355 th->th_dport, in rss_mbuf_software_hash_v6()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 2552 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 D | ipsec.c | 531 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()
|