/src/sys/net/npf/ |
npf_alg_icmp.c | 91 dport = ntohs(th->th_dport); 275 l4.th.th_sport = enpc.npc_l4.tcp->th_dport; 276 l4.th.th_dport = enpc.npc_l4.tcp->th_sport;
|
npf_sendpkt.c | 168 th->th_sport = oth->th_dport; 169 th->th_dport = oth->th_sport;
|
npf_socket.c | 137 dport = tcp->th_dport; 200 dport = tcp->th_dport;
|
npf_inet.c | 732 oport = (which == NPF_SRC) ? &th->th_sport : &th->th_dport; 781 oport = (which == NPF_SRC) ? th->th_sport : th->th_dport;
|
npf_connkey.c | 251 id[NPF_DST] = th->th_dport;
|
/src/sys/netinet/ |
tcp.h | 50 uint16_t th_dport; /* destination port */ member in struct:tcphdr
|
tcp_input.c | 847 dst, ntohs(th->th_dport), 867 dst, ntohs(th->th_dport), 1382 ip->ip_dst, th->th_dport, &vestige); 1386 th->th_dport); 1396 th->th_sport, &d, th->th_dport, 0, &vestige); 1400 th->th_dport, 0); 1431 th->th_sport, &ip6->ip6_dst, th->th_dport, faith, &vestige); 1435 th->th_dport, faith); 1554 dst.sin.sin_port = th->th_dport; 1566 dst.sin6.sin6_port = th->th_dport; [all...] |
tcp_subr.c | 578 n->th_dport = inp->inp_fport; 764 xchg(th->th_dport, th->th_sport, u_int16_t); 1339 th.th_dport, 1360 nmatch = in6pcb_notify(&tcbtable, sa, th.th_dport, 1424 th->th_dport, ip->ip_src, th->th_sport, 0)) != NULL) 1428 th->th_dport, &src6, th->th_sport, 0, 0)) != NULL) 1489 th->th_dport, ip->ip_src, th->th_sport, errno, notify);
|
tcp_var.h | 181 #define ti_dport ti_t.th_dport
|
tcp_syncache.c | 1145 th->th_dport = sc->sc_src.sin.sin_port; 1157 th->th_dport = sc->sc_src.sin6.sin6_port;
|
/src/sys/dev/pci/ixgbe/ |
if_fdir.c | 121 common.port.src ^= th->th_dport;
|
/src/sys/external/bsd/ipf/netinet/ |
ip_raudio_pxy.c | 297 tcp2->th_dport = htons(dp); 320 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
ip_irc_pxy.c | 405 tcp2->th_dport = 0; /* XXX - don't specify remote port */
|
ip_rcmd_pxy.c | 84 aps->aps_dport = tcp->th_dport;
|
ip_nat6.c | 905 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 1479 fin->fin_data[0] = ntohs(tcp->th_dport); 1738 sum2 = ntohs(tcp->th_dport); 1741 tcp->th_dport = htons(sum3); 1744 sum2 = ntohs(tcp->th_dport); 1748 tcp->th_dport = htons(sum3); 2879 tcp->th_dport = nat->nat_ndport; 2886 tcp->th_dport = nat->nat_osport; 3305 tcp->th_dport = nat->nat_ndport; 3312 tcp->th_dport = nat->nat_osport [all...] |
ip_nat.c | 3026 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 3681 fin->fin_data[0] = ntohs(tcp->th_dport); 3893 sum2 = ntohs(tcp->th_dport); 3896 tcp->th_dport = htons(sum3); 3899 sum2 = ntohs(tcp->th_dport); 3903 tcp->th_dport = htons(sum3); 5181 tcp->th_dport = nat->nat_ndport; 5188 tcp->th_dport = nat->nat_osport; 5657 tcp->th_dport = nat->nat_ndport; 5664 tcp->th_dport = nat->nat_osport [all...] |
ip_fil_netbsd.c | 787 tcp2->th_sport = tcp->th_dport; 788 tcp2->th_dport = tcp->th_sport;
|
ip_rpcb_pxy.c | 1129 tcp.th_dport = htons(port);
|
/src/sys/dev/pci/cxgb/ |
cxgb_lro.c | 87 th->th_dport == sth->th_dport &&
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_mbuf_subr.c | 294 th->th_dport = htons(dport);
|
/src/sys/dist/pf/net/ |
pf.c | 1774 th->th_dport = dport; 2774 dport = pd->hdr.tcp->th_dport; 3103 dport = th->th_dport; 3214 pf_change_ap(daddr, &th->th_dport, pd->ip_sum, 3216 dport = th->th_dport; 3403 pf_change_ap(daddr, &th->th_dport, 3406 dport = th->th_dport; 3458 pd->src, th->th_dport, th->th_sport, 3710 pf_change_ap(daddr, &th->th_dport, 3713 sport = th->th_dport; [all...] |
/src/dist/pf/usr.sbin/ftp-proxy/ |
npf.c | 121 BPF_STMT(BPF_LD+BPF_H+BPF_IND, offsetof(struct tcphdr, th_dport)),
|
/src/usr.sbin/trpt/ |
trpt.c | 450 hbuf, ntohs(th->th_dport));
|
/src/usr.sbin/npf/npfctl/ |
npf_bpf_comp.c | 744 assert(dport_off == offsetof(struct tcphdr, th_dport));
|
/src/sys/netipsec/ |
ipsec.c | 907 spidx->dst.sin.sin_port = th.th_dport; 1013 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = th.th_dport;
|