| /NextBSD/sys/netinet/libalias/ |
| HD | alias.c | 365 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 …]
|
| HD | 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()
|
| HD | 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()
|
| /NextBSD/contrib/ipfilter/ipsend/ |
| HD | 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);
|
| HD | ipsend.c | 321 tcp->th_dport = htons(atoi(optarg)); 436 if (ip->ip_p == IPPROTO_TCP && tcp->th_dport)
|
| HD | resend.c | 56 printf(",%d", t->th_dport);
|
| /NextBSD/contrib/ipfilter/ipsd/ |
| HD | ipsd.c | 121 k = tcp->th_dport - defports[i]; 124 if (findhit(ihp, ip->ip_src, tcp->th_dport))
|
| /NextBSD/sys/netinet/ |
| HD | tcpip.h | 49 #define ti_dport ti_t.th_dport
|
| HD | tcp_subr.c | 803 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()
|
| HD | tcp.h | 52 u_short th_dport; /* destination port */ member
|
| HD | tcp_lro.c | 482 le->dest_port != th->th_dport) in tcp_lro_rx() 603 le->dest_port = th->th_dport; in tcp_lro_rx()
|
| HD | in_rss.c | 289 th->th_dport, in rss_mbuf_software_hash_v4()
|
| HD | tcp_input.c | 818 &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/ |
| HD | tcp.h | 43 uint16_t th_dport; /* destination port */ member
|
| /NextBSD/contrib/ipfilter/lib/ |
| HD | printpacket6.c | 58 PRINTF(",%d", ntohs(tcp->th_dport));
|
| HD | printpacket.c | 87 PRINTF(",%d", ntohs(tcp->th_dport));
|
| HD | ipft_tx.c | 272 tcp->th_dport = htons(tx_portnum(last)); 440 tcp->th_dport = htons(tx_portnum(last));
|
| /NextBSD/sys/contrib/ipfilter/netinet/ |
| HD | ip_raudio_pxy.c | 306 tcp2->th_dport = htons(dp); 329 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
| HD | 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;
|
| /NextBSD/contrib/ipfilter/ipsd/Celler/ |
| HD | ip_compat.h | 135 __u16 th_dport; member
|
| /NextBSD/cddl/lib/libdtrace/ |
| HD | tcp.d | 222 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport); 241 tcp_dport = p == NULL ? 0 : ntohs(p->th_dport);
|
| /NextBSD/contrib/ipfilter/ipsend/.OLD/ |
| HD | ip_compat.h | 137 __u16 th_dport; member
|
| /NextBSD/usr.sbin/ppp/ |
| HD | 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()
|
| /NextBSD/sys/netinet6/ |
| HD | in6_rss.c | 311 th->th_dport, in rss_mbuf_software_hash_v6()
|
| /NextBSD/contrib/traceroute/ |
| HD | 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()
|