aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-17 16:58:43 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-11-25 01:34:43 +0100
commit3cf027bd590d1a42dacc0d52dbbc298994902c9b (patch)
tree343fd0fb69f1c66e36b7fbd25dda8e9ac6da14c4 /Makefile
parentc6b822428a0225cce7bf5698c6681ee6fad36046 (diff)
downloadpasst-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar.gz
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar.bz2
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar.lz
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar.xz
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.tar.zst
passt-3cf027bd590d1a42dacc0d52dbbc298994902c9b.zip
tcp: Move connection state structures into a shared header
Currently spliced and non-spliced connections use completely independent tracking structures. We want to unify these, so as a preliminary step move the definitions for both variants into a new tcp_conn.h header, shared by tcp.c and tcp_splice.c. This requires renaming some #defines with the same name but different meanings between the two cases. In the process we correct some places that are slightly out of sync between the comments and the code for various event bit names. 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--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc4f014..a9b4f79 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,8 @@ MANPAGES = passt.1 pasta.1 qrap.1
PASST_HEADERS = arch.h arp.h checksum.h conf.h dhcp.h dhcpv6.h icmp.h \
isolation.h lineread.h log.h ndp.h netlink.h packet.h passt.h pasta.h \
- pcap.h port_fwd.h siphash.h tap.h tcp.h tcp_splice.h udp.h util.h
+ pcap.h port_fwd.h siphash.h tap.h tcp.h tcp_conn.h tcp_splice.h udp.h \
+ util.h
HEADERS = $(PASST_HEADERS) seccomp.h
# On gcc 11 and 12, with -O2 and -flto, tcp_hash() and siphash_20b(), if