Home
last modified time | relevance | path

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

123

/NextBSD/sys/netinet/libalias/
HDalias.c365 tc->th_dport, tc->th_sport, in IcmpAliasIn2()
547 tc->th_dport, tc->th_sport, in IcmpAliasOut2()
925 tc->th_sport, tc->th_dport, in TcpAliasIn()
948 .dport = &tc->th_dport, in TcpAliasIn()
958 alias_port = tc->th_dport; in TcpAliasIn()
959 tc->th_dport = GetOriginalPort(lnk); in TcpAliasIn()
987 accumulate -= tc->th_dport; in TcpAliasIn()
1054 tc->th_dport, pip->ip_p); in TcpAliasOut()
1063 dest_port = tc->th_dport; in TcpAliasOut()
1068 accumulate = tc->th_dport; in TcpAliasOut()
[all …]
HDalias_smedia.c503 if ((ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_1) || in AliasHandleRtspOut()
504 (ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_2)) { in AliasHandleRtspOut()
HDalias_ftp.c252 if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { in AliasHandleFtpOut()
314 ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER && in AliasHandleFtpIn()
/NextBSD/contrib/ipfilter/ipsend/
HDiptests.c959 t->th_dport = htons(1);
1128 t->th_dport = htons(i);
1147 ntohs(t->th_sport), ntohs(t->th_dport));
1238 t->th_dport = 0;
1244 t->th_dport = htons(1);
1250 t->th_dport = htons(32767);
1256 t->th_dport = htons(32768);
1262 t->th_dport = htons(65535);
1273 t->th_dport = htons(25);
HDipsend.c321 tcp->th_dport = htons(atoi(optarg));
436 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport)
HDresend.c56 printf(",%d", t->th_dport);
/NextBSD/contrib/ipfilter/ipsd/
HDipsd.c121 k = tcp->th_dport - defports[i];
124 if (findhit(ihp, ip->ip_src, tcp->th_dport))
/NextBSD/sys/netinet/
HDtcpip.h49 #define ti_dport ti_t.th_dport
HDtcp_subr.c803 th->th_dport = inp->inp_fport; in tcpip_fillheaders()
931 nth->th_dport = th->th_dport; in tcp_respond()
933 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
1875 inp = in_pcblookup(&V_tcbinfo, faddr, th->th_dport, ip->ip_src, in tcp_ctlinput()
1927 inc.inc_fport = th->th_dport; in tcp_ctlinput()
1950 u_int16_t th_dport; in tcp6_ctlinput() member
1991 in6_pcbnotify(&V_tcbinfo, sa, th.th_dport, in tcp6_ctlinput()
1996 inc.inc_fport = th.th_dport; in tcp6_ctlinput()
2887 sprintf(sp, "]:%i", ntohs(th->th_dport)); in tcp_log_addr()
2897 sprintf(sp, "]:%i", ntohs(th->th_dport)); in tcp_log_addr()
HDtcp.h52 u_short th_dport; /* destination port */ member
HDtcp_lro.c482 le->dest_port != th->th_dport) in tcp_lro_rx()
603 le->dest_port = th->th_dport; in tcp_lro_rx()
HDin_rss.c289 th->th_dport, in rss_mbuf_software_hash_v4()
HDtcp_input.c818 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
829 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
834 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
852 ip->ip_dst, th->th_dport, INPLOOKUP_WLOCKPCB, in tcp_input()
863 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
868 th->th_sport, ip->ip_dst, th->th_dport, in tcp_input()
1070 inc.inc_lport = th->th_dport; in tcp_input()
1311 if (th->th_dport == th->th_sport && in tcp_input()
1334 if (th->th_dport == th->th_sport && in tcp_input()
/NextBSD/contrib/tcpdump/
HDtcp.h43 uint16_t th_dport; /* destination port */ member
/NextBSD/contrib/ipfilter/lib/
HDprintpacket6.c58 PRINTF(",%d", ntohs(tcp->th_dport));
HDprintpacket.c87 PRINTF(",%d", ntohs(tcp->th_dport));
HDipft_tx.c272 tcp->th_dport = htons(tx_portnum(last));
440 tcp->th_dport = htons(tx_portnum(last));
/NextBSD/sys/contrib/ipfilter/netinet/
HDip_raudio_pxy.c306 tcp2->th_dport = htons(dp);
329 tcp2->th_dport = 0; /* XXX - don't specify remote port */
HDip_nat6.c925 ((tcphdr_t *)fin->fin_dp)->th_dport = nport;
1510 fin->fin_data[0] = ntohs(tcp->th_dport);
1775 sum2 = ntohs(tcp->th_dport);
1778 tcp->th_dport = htons(sum3);
1781 sum2 = ntohs(tcp->th_dport);
1785 tcp->th_dport = htons(sum3);
2934 tcp->th_dport = nat->nat_ndport;
2941 tcp->th_dport = nat->nat_osport;
3360 tcp->th_dport = nat->nat_ndport;
3367 tcp->th_dport = nat->nat_osport;
/NextBSD/contrib/ipfilter/ipsd/Celler/
HDip_compat.h135 __u16 th_dport; member
/NextBSD/cddl/lib/libdtrace/
HDtcp.d222 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport);
241 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport);
/NextBSD/contrib/ipfilter/ipsend/.OLD/
HDip_compat.h137 __u16 th_dport; member
/NextBSD/usr.sbin/ppp/
HDip.c373 dport = ntohs(th->th_dport); in FilterCheck()
819 ntohs(th->th_dport))) in PacketCheck()
828 "%s:%d", ncpaddr_ntoa(&dstaddr), ntohs(th->th_dport)); in PacketCheck()
/NextBSD/sys/netinet6/
HDin6_rss.c311 th->th_dport, in rss_mbuf_software_hash_v6()
/NextBSD/contrib/traceroute/
HDtraceroute.c1466 tcp->th_dport = htons(port + (fixedPort ? 0 : outdata->seq)); in tcp_prep()
1467 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport; in tcp_prep()
1483 && ntohs(tcp->th_dport) == port + (fixedPort ? 0 : seq) in tcp_check()
1484 && tcp->th_seq == (tcp_seq)((tcp->th_sport << 16) | tcp->th_dport)); in tcp_check()

123