Home
last modified time | relevance | path

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

/dragonfly/lib/libalias/
HDalias.c351 tc->th_dport, tc->th_sport, in IcmpAliasIn2()
543 tc->th_dport, tc->th_sport, in IcmpAliasOut2()
884 tc->th_sport, tc->th_dport, in TcpAliasIn()
897 if (ntohs(tc->th_dport) == PPTP_CONTROL_PORT_NUMBER in TcpAliasIn()
904 alias_port = tc->th_dport; in TcpAliasIn()
905 tc->th_dport = GetOriginalPort(link); in TcpAliasIn()
911 accumulate -= tc->th_dport; in TcpAliasIn()
986 dest_port = tc->th_dport; in TcpAliasOut()
992 accumulate = tc->th_dport; in TcpAliasOut()
993 tc->th_dport = proxy_server_port; in TcpAliasOut()
[all …]
HDalias_smedia.c388 if ((ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_1) || in AliasHandleRtspOut()
389 (ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_2)) { in AliasHandleRtspOut()
HDalias_ftp.c131 if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { in AliasHandleFtpOut()
HDalias_proxy.c462 ->th_dport; in ProxyCheck()
/dragonfly/sys/netinet/
HDtcpip.h67 #define ti_dport ti_t.th_dport
HDtcp_subr.c509 tcp_hdr->th_dport = inp->inp_fport; in tcp_fillheaders()
645 nth->th_dport = th->th_dport; in tcp_respond()
647 xchg(nth->th_dport, nth->th_sport, n_short); in tcp_respond()
1468 *cpuid = tcp_addrcpu(faddr.s_addr, th->th_dport, in tcp_get_inpnotify()
1503 inp = in_pcblookup_hash(&tcbinfo[mycpuid], faddr, th->th_dport, in tcp_ctlinput()
1515 inc.inc_fport = th->th_dport; in tcp_ctlinput()
1563 u_int16_t th_dport; in tcp6_ctlinput() member
1628 in6_pcbnotify(&tcbinfo[0], sa, th.th_dport, in tcp6_ctlinput()
1632 inc.inc_fport = th.th_dport; in tcp6_ctlinput()
HDtcp.h54 u_short th_dport; /* destination port */ member
HDtcp_input.c830 ip->ip_dst, th->th_dport, in tcp_input()
844 th->th_dport; in tcp_input()
857 &ip6->ip6_dst, th->th_dport, in tcp_input()
863 ip->ip_dst, th->th_dport, in tcp_input()
901 dbuf, ntohs(th->th_dport), sbuf, in tcp_input()
966 inc.inc_lport = th->th_dport; in tcp_input()
1083 if (th->th_dport == th->th_sport) { in tcp_input()
HDip_demux.c314 th->th_sport, th->th_dport); in ip_hashfn()
HDtcp_syncache.c1242 th->th_dport = sc->sc_inc.inc_fport; in syncache_respond()
/dragonfly/contrib/tcpdump/
HDtcp.h42 nd_uint16_t th_dport; /* destination port */ member
HDprint-tcp.c185 if (!ND_TTEST_2(tp->th_dport)) { in tcp_print()
200 dport = GET_BE_U_2(tp->th_dport); in tcp_print()
/dragonfly/usr.sbin/ppp/
HDip.c348 dport = ntohs(th->th_dport); in FilterCheck()
793 ntohs(th->th_dport))) in PacketCheck()
802 "%s:%d", ncpaddr_ntoa(&dstaddr), ntohs(th->th_dport)); in PacketCheck()
/dragonfly/sys/net/pf/
HDpf.c2224 th->th_dport = dport; in pf_send_tcp()
3391 dport = pd->hdr.tcp->th_dport; in pf_socket_lookup()
3675 MD5Update(&ctx, (char *)&pd->hdr.tcp->th_dport, sizeof(u_short)); in pf_tcp_iss()
3730 dport = th->th_dport; in pf_test_rule()
3806 pf_change_ap(daddr, &th->th_dport, pd->ip_sum, in pf_test_rule()
3809 dport = th->th_dport; in pf_test_rule()
3810 pd->dport = &th->th_dport; in pf_test_rule()
4051 pd->src, th->th_dport, th->th_sport, in pf_test_rule()
4294 pf_send_tcp(r, pd->af, pd->dst, pd->src, th->th_dport, in pf_create_state()
4739 pd->dst, pd->src, th->th_dport, in pf_tcp_track_full()
[all …]
HDpf_norm.c1323 r->dst.port[0], r->dst.port[1], th->th_dport)) in pf_normalize_tcp()
/dragonfly/usr.sbin/trpt/
HDtrpt.c356 ntohs(th->th_dport)); in tcp_trace()
/dragonfly/sys/net/ip6fw/
HDip6_fw.c427 ntohs(tcp6->th_dport)); in ip6fw_report()
636 dst_port = ntohs(tcp6->th_dport); in ip6_fw_chk()
/dragonfly/sys/netgraph7/netflow/
HDnetflow.c441 r.r_dport = tcp->th_dport; in ng_netflow_flow_add()
/dragonfly/sbin/natd/
HDnatd.c641 ntohs(tcphdr->th_dport)); in FormatPacket()
/dragonfly/sys/net/ipfw/
HDip_fw2.c1510 ntohs(tcp->th_dport)); in ipfw_log()
2905 tcp->th_dport = htons(id->src_port); in send_pkt()
2931 tcp->th_dport = htons(id->dst_port); in send_pkt()
3138 port = &L3HDR(struct tcphdr, ip)->th_dport; in ipfw_xlate()
3325 local->dst_port = tcp->th_dport; in ipfw_setup_local()
/dragonfly/sys/net/ipfw3_nat/
HDip_fw3_nat.c203 old_port = &L3HDR(struct tcphdr, ip)->th_dport; in ip_fw3_nat()
/dragonfly/sys/net/ipfw3/
HDip_fw3.c389 dst_port = tcp->th_dport; in ip_fw3_chk()
/dragonfly/sys/net/sppp/
HDif_spppsubr.c762 else if (INTERACTIVE (ntohs (tcp->th_dport))) in sppp_output_serialized()