| /freebsd-10-stable/sys/netinet/libalias/ |
| D | alias.c | 365 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 …]
|
| D | alias_smedia.c | 503 if ((ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_1) || in AliasHandleRtspOut() 504 (ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_2)) { in AliasHandleRtspOut()
|
| 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()
|
| /freebsd-10-stable/contrib/ipfilter/ipsend/ |
| D | iptests.c | 959 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);
|
| D | ipsend.c | 321 tcp->th_dport = htons(atoi(optarg)); 436 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport)
|
| D | resend.c | 59 printf(",%d", t->th_dport);
|
| /freebsd-10-stable/contrib/ipfilter/ipsd/ |
| D | ipsd.c | 121 k = tcp->th_dport - defports[i]; 124 if (findhit(ihp, ip->ip_src, tcp->th_dport))
|
| /freebsd-10-stable/sys/netinet/ |
| D | tcpip.h | 49 #define ti_dport ti_t.th_dport
|
| D | tcp_subr.c | 513 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 …]
|
| D | tcp.h | 52 u_short th_dport; /* destination port */ member
|
| D | tcp_input.c | 799 &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()
|
| D | tcp_lro.c | 505 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/ |
| D | tcp.h | 44 u_int16_t th_dport; /* destination port */ member
|
| /freebsd-10-stable/contrib/ipfilter/lib/ |
| D | printpacket6.c | 58 PRINTF(",%d", ntohs(tcp->th_dport));
|
| D | printpacket.c | 87 PRINTF(",%d", ntohs(tcp->th_dport));
|
| D | ipft_tx.c | 272 tcp->th_dport = htons(tx_portnum(last)); 440 tcp->th_dport = htons(tx_portnum(last));
|
| /freebsd-10-stable/cddl/lib/libdtrace/ |
| D | tcp.d | 210 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/ |
| D | ip_raudio_pxy.c | 306 tcp2->th_dport = htons(dp); 329 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
| D | ip_nat6.c | 925 ((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/ |
| D | if_fdir.c | 115 common.port.src ^= th->th_dport; in ixgbe_atr()
|
| /freebsd-10-stable/contrib/ipfilter/ipsd/Celler/ |
| D | ip_compat.h | 135 __u16 th_dport; member
|
| /freebsd-10-stable/contrib/ipfilter/ipsend/.OLD/ |
| D | ip_compat.h | 137 __u16 th_dport; member
|
| /freebsd-10-stable/sys/netpfil/ipfw/ |
| D | dn_sched_fq_codel.c | 237 *((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/ |
| D | ip.c | 373 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/ |
| D | traceroute.c | 1466 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()
|