Home
last modified time | relevance | path

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

123

/freebsd-10-stable/sys/netinet/libalias/
Dalias.c365 tc->th_dport, tc->th_sport, in IcmpAliasIn2()
547 tc->th_dport, tc->th_sport, in IcmpAliasOut2()
927 tc->th_sport, tc->th_dport, in TcpAliasIn()
950 .dport = &tc->th_dport, in TcpAliasIn()
960 alias_port = tc->th_dport; in TcpAliasIn()
961 tc->th_dport = GetOriginalPort(lnk); in TcpAliasIn()
989 accumulate -= tc->th_dport; in TcpAliasIn()
1056 tc->th_dport, pip->ip_p); in TcpAliasOut()
1065 dest_port = tc->th_dport; in TcpAliasOut()
1070 accumulate = tc->th_dport; in TcpAliasOut()
[all …]
Dalias_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()
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()
/freebsd-10-stable/contrib/ipfilter/ipsend/
Diptests.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);
Dipsend.c321 tcp->th_dport = htons(atoi(optarg));
436 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport)
Dresend.c59 printf(",%d", t->th_dport);
/freebsd-10-stable/contrib/ipfilter/ipsd/
Dipsd.c121 k = tcp->th_dport - defports[i];
124 if (findhit(ihp, ip->ip_src, tcp->th_dport))
/freebsd-10-stable/sys/netinet/
Dtcpip.h49 #define ti_dport ti_t.th_dport
Dtcp_subr.c513 th->th_dport = inp->inp_fport; in tcpip_fillheaders()
653 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
683 nth->th_dport = th->th_dport; in tcp_respond()
685 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
1634 inp = in_pcblookup(&V_tcbinfo, faddr, th->th_dport, in tcp_ctlinput()
1687 inc.inc_fport = th->th_dport; in tcp_ctlinput()
1712 u_int16_t th_dport; in tcp6_ctlinput() member
1756 in6_pcbnotify(&V_tcbinfo, sa, th.th_dport, in tcp6_ctlinput()
1761 inc.inc_fport = th.th_dport; in tcp6_ctlinput()
2564 sprintf(sp, "]:%i", ntohs(th->th_dport)); in tcp_log_addr()
[all …]
Dtcp.h52 u_short th_dport; /* destination port */ member
Dtcp_input.c799 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
810 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
815 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
833 ip->ip_dst, th->th_dport, INPLOOKUP_WLOCKPCB, in tcp_input()
844 th->th_dport, INPLOOKUP_WILDCARD | in tcp_input()
849 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()
Dtcp_lro.c505 le->dest_port != th->th_dport) in tcp_lro_rx()
641 le->dest_port = th->th_dport; in tcp_lro_rx()
/freebsd-10-stable/contrib/tcpdump/
Dtcp.h44 u_int16_t th_dport; /* destination port */ member
/freebsd-10-stable/contrib/ipfilter/lib/
Dprintpacket6.c58 PRINTF(",%d", ntohs(tcp->th_dport));
Dprintpacket.c87 PRINTF(",%d", ntohs(tcp->th_dport));
Dipft_tx.c272 tcp->th_dport = htons(tx_portnum(last));
440 tcp->th_dport = htons(tx_portnum(last));
/freebsd-10-stable/cddl/lib/libdtrace/
Dtcp.d210 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport);
229 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport);
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
Dip_raudio_pxy.c306 tcp2->th_dport = htons(dp);
329 tcp2->th_dport = 0; /* XXX - don't specify remote port */
Dip_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;
/freebsd-10-stable/sys/dev/ixgbe/
Dif_fdir.c115 common.port.src ^= th->th_dport; in ixgbe_atr()
/freebsd-10-stable/contrib/ipfilter/ipsd/Celler/
Dip_compat.h135 __u16 th_dport; member
/freebsd-10-stable/contrib/ipfilter/ipsend/.OLD/
Dip_compat.h137 __u16 th_dport; member
/freebsd-10-stable/sys/netpfil/ipfw/
Ddn_sched_fq_codel.c237 *((uint16_t *) &tuple[37]) = th->th_dport; in fq_codel_classify_flow()
265 *((uint16_t *) &tuple[13]) = th->th_dport; in fq_codel_classify_flow()
/freebsd-10-stable/usr.sbin/ppp/
Dip.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()
/freebsd-10-stable/contrib/traceroute/
Dtraceroute.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