aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-07-18 15:26:46 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-07-19 18:33:39 +0200
commita45a7e97982acc7c9d00fddb0192fbbfcd2030d6 (patch)
tree371c1d0ce44f09463702386c6dc0c75a6b65cf1c /Makefile
parent8abd06e9fac93b60cc98d90f7310d94cfc295090 (diff)
downloadpasst-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar.gz
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar.bz2
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar.lz
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar.xz
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.tar.zst
passt-a45a7e97982acc7c9d00fddb0192fbbfcd2030d6.zip
udp: Create flows for datagrams from originating sockets
This implements the first steps of tracking UDP packets with the flow table rather than its own (buggy) set of port maps. Specifically we create flow table entries for datagrams received from a socket (PIF_HOST or PIF_SPLICE). When splitting datagrams from sockets into batches, we group by the flow as well as splicesrc. This may result in smaller batches, but makes things easier down the line. We can re-optimise this later if necessary. For now we don't do anything else with the flow, not even match reply packets to the same flow. 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 09fc461..92cbd5a 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ PASST_HEADERS = arch.h arp.h checksum.h conf.h dhcp.h dhcpv6.h flow.h fwd.h \
flow_table.h icmp.h icmp_flow.h inany.h iov.h ip.h isolation.h \
lineread.h log.h ndp.h netlink.h packet.h passt.h pasta.h pcap.h pif.h \
siphash.h tap.h tcp.h tcp_buf.h tcp_conn.h tcp_internal.h tcp_splice.h \
- udp.h util.h
+ udp.h udp_flow.h util.h
HEADERS = $(PASST_HEADERS) seccomp.h
C := \#include <linux/tcp.h>\nstruct tcp_info x = { .tcpi_snd_wnd = 0 };