public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/9] Unify TCP and UDP forwarding tables
@ 2026-03-11 12:03 David Gibson
  2026-03-11 12:03 ` [PATCH v2 1/9] conf, fwd: Make overall forwarding mode local to conf path David Gibson
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: David Gibson @ 2026-03-11 12:03 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

This will make the dynamic update protocol and future forwarding
extensions easier.  Along the way I spotted a number of other minor
faults, and have fixed those too.

Changes in v2:
 * Several documentation and whitespace changes
 * Updated MAX_LISTEN_SOCKS since it's now per pif but not per protocol
 * Actually removed old TCP tables, overlooked before
 * Added 2 additional cleanup patches

David Gibson (9):
  conf, fwd: Make overall forwarding mode local to conf path
  tcp: Remove stale description of port_to_tap field
  fwd: Don't initialise unused port bitmaps
  Fix misnamed field in struct ctx comments
  fwd: Split forwarding table from port scanning state
  fwd: Unify TCP and UDP forwarding tables
  fwd: Always open /proc/net{tcp,tcp6,udp,udp6} in pasta mode
  conf: Don't defer handling of --dns option
  conf: Parse all forwarding options at the same time

 conf.c  | 225 ++++++++++++++++++++++++++------------------------
 flow.c  |  25 ++----
 fwd.c   | 249 ++++++++++++++++++++++++++++++++++----------------------
 fwd.h   |  67 +++++++--------
 passt.c |   3 +
 passt.h |   7 +-
 tcp.c   |   8 +-
 tcp.h   |   9 +-
 udp.c   |   9 +-
 udp.h   |   8 +-
 10 files changed, 331 insertions(+), 279 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-03-11 23:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-11 12:03 [PATCH v2 0/9] Unify TCP and UDP forwarding tables David Gibson
2026-03-11 12:03 ` [PATCH v2 1/9] conf, fwd: Make overall forwarding mode local to conf path David Gibson
2026-03-11 12:03 ` [PATCH v2 2/9] tcp: Remove stale description of port_to_tap field David Gibson
2026-03-11 12:03 ` [PATCH v2 3/9] fwd: Don't initialise unused port bitmaps David Gibson
2026-03-11 12:03 ` [PATCH v2 4/9] Fix misnamed field in struct ctx comments David Gibson
2026-03-11 12:03 ` [PATCH v2 5/9] fwd: Split forwarding table from port scanning state David Gibson
2026-03-11 12:03 ` [PATCH v2 6/9] fwd: Unify TCP and UDP forwarding tables David Gibson
2026-03-11 12:03 ` [PATCH v2 7/9] fwd: Always open /proc/net{tcp,tcp6,udp,udp6} in pasta mode David Gibson
2026-03-11 12:03 ` [PATCH v2 8/9] conf: Don't defer handling of --dns option David Gibson
2026-03-11 12:03 ` [PATCH v2 9/9] conf: Parse all forwarding options at the same time David Gibson
2026-03-11 21:12 ` [PATCH v2 0/9] Unify TCP and UDP forwarding tables Stefano Brivio
2026-03-11 23:33   ` David Gibson

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).