aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-11-03 13:22:56 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-11-07 09:53:14 +0100
commite90f2770ae44de238a227f884e806637a2b80403 (patch)
tree215078d0b14fb196c2541bdc9f917cae11a505b1 /Makefile
parent26d86f1304af402878d143ba20a18ef59c444263 (diff)
downloadpasst-e90f2770ae44de238a227f884e806637a2b80403.tar
passt-e90f2770ae44de238a227f884e806637a2b80403.tar.gz
passt-e90f2770ae44de238a227f884e806637a2b80403.tar.bz2
passt-e90f2770ae44de238a227f884e806637a2b80403.tar.lz
passt-e90f2770ae44de238a227f884e806637a2b80403.tar.xz
passt-e90f2770ae44de238a227f884e806637a2b80403.tar.zst
passt-e90f2770ae44de238a227f884e806637a2b80403.zip
port_fwd: Move automatic port forwarding code to port_fwd.[ch]
The implementation of scanning /proc files to do automatic port forwarding is a bit awkwardly split between procfs_scan_listen() in util.c, get_bound_ports() and related functions in conf.c and the initial setup code in conf(). Consolidate all of this into port_fwd.h, which already has some related definitions, and a new port_fwd.c. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 941086a..0324fdd 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ FLAGS += -DDUAL_STACK_SOCKETS=$(DUAL_STACK_SOCKETS)
PASST_SRCS = arch.c arp.c checksum.c conf.c dhcp.c dhcpv6.c icmp.c igmp.c \
isolation.c lineread.c log.c mld.c ndp.c netlink.c packet.c passt.c \
- pasta.c pcap.c tap.c tcp.c tcp_splice.c udp.c util.c
+ pasta.c pcap.c port_fwd.c tap.c tcp.c tcp_splice.c udp.c util.c
QRAP_SRCS = qrap.c
SRCS = $(PASST_SRCS) $(QRAP_SRCS)