public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob a9bb8f52816fb13f4337916f9ed8b112a7f99170 577 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright Red Hat
 * Author: David Gibson <david@gibson.dropbear.id.au>
 *
 * Tracking for logical "flows" of packets.
 */

#include <stdint.h>
#include <unistd.h>
#include <string.h>

#include "util.h"
#include "passt.h"
#include "siphash.h"
#include "inany.h"
#include "flow.h"
#include "tcp_conn.h"
#include "flow_table.h"

const char *flow_type_str[] = {
	[FLOW_TYPE_NONE]	= "<none>",
	[FLOW_TCP]		= "TCP connection",
	[FLOW_TCP_SPLICE]	= "TCP connection (spliced)",
};

/* Global Flow Table */
union flow flowtab[FLOW_MAX];

debug log:

solving a9bb8f5 ...
found a9bb8f5 in https://archives.passt.top/passt-dev/20231123023629.2024938-4-david@gibson.dropbear.id.au/ ||
	https://archives.passt.top/passt-dev/20231126233348.1599864-3-david@gibson.dropbear.id.au/
found 7c3603c in https://archives.passt.top/passt-dev/20231123023629.2024938-3-david@gibson.dropbear.id.au/ ||
	https://archives.passt.top/passt-dev/20231126233348.1599864-2-david@gibson.dropbear.id.au/

applying [1/2] https://archives.passt.top/passt-dev/20231123023629.2024938-3-david@gibson.dropbear.id.au/
diff --git a/flow.c b/flow.c
new file mode 100644
index 0000000..7c3603c

Checking patch flow.c...
Applied patch flow.c cleanly.

skipping https://archives.passt.top/passt-dev/20231126233348.1599864-2-david@gibson.dropbear.id.au/ for 7c3603c
index at:
100644 7c3603c435f874446739746f4252fc8d2d8c9d92	flow.c

applying [2/2] https://archives.passt.top/passt-dev/20231123023629.2024938-4-david@gibson.dropbear.id.au/
diff --git a/flow.c b/flow.c
index 7c3603c..a9bb8f5 100644

Checking patch flow.c...
Applied patch flow.c cleanly.

skipping https://archives.passt.top/passt-dev/20231126233348.1599864-3-david@gibson.dropbear.id.au/ for a9bb8f5
index at:
100644 a9bb8f52816fb13f4337916f9ed8b112a7f99170	flow.c

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).