public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/5] RFC: Forwarding table data structure
@ 2025-12-12  7:10 David Gibson
  2025-12-12  7:10 ` [PATCH 1/5] tcp: Remove extra space from TCP_INFO debug messages (trivial) David Gibson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Gibson @ 2025-12-12  7:10 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

Here's some patches starting to create a data structure to store more
flexible (and eventually dynamically updateable) forwarding
configuration.

So far this is just creating the data structures, not actually using
them to drive the rest of the code, so it's not ready for merge (but
the preliminaries in 1..2/5 could be merged if you like).  Putting it
out there for early review.

David Gibson (5):
  tcp: Remove extra space from TCP_INFO debug messages (trivial)
  conf, fwd: Move initialisation of auto port scanning out of conf()
  conf, fwd: Keep a table of our port forwarding configuration
  conf: Accurately record ifname and address for outbound forwards
  conf, fwd: Record "auto" port forwards in forwarding table

 conf.c  | 140 +++++++++++++++++++++++++++++++++++++++++---------------
 fwd.c   |  78 +++++++++++++++++++++++++++++++
 fwd.h   |  33 +++++++++++++
 passt.c |   1 +
 tcp.c   |   2 +-
 5 files changed, 216 insertions(+), 38 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2025-12-12  7:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-12  7:10 [PATCH 0/5] RFC: Forwarding table data structure David Gibson
2025-12-12  7:10 ` [PATCH 1/5] tcp: Remove extra space from TCP_INFO debug messages (trivial) David Gibson
2025-12-12  7:10 ` [PATCH 2/5] conf, fwd: Move initialisation of auto port scanning out of conf() David Gibson
2025-12-12  7:10 ` [PATCH 3/5] conf, fwd: Keep a table of our port forwarding configuration David Gibson
2025-12-12  7:10 ` [PATCH 4/5] conf: Accurately record ifname and address for outbound forwards David Gibson
2025-12-12  7:10 ` [PATCH 5/5] conf, fwd: Record "auto" port forwards in forwarding table 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).