public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/7] Improved selection of external interface and IP configuration
@ 2022-07-22  5:31 David Gibson
  2022-07-22  5:31 ` [PATCH 1/7] Allow different external interfaces for IPv4 and IPv6 connectivity David Gibson
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: David Gibson @ 2022-07-22  5:31 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]

The current semantics for selecting an external interface are quite
confusing - depending on details it can pick either the interface
associated with the first default route, or the lowest numbered
interface with a default route, which might not be the same.The logic
for checking the interface in the tests isn't quite identical which
can lead to test failures when there are multiple external routes.

This series fixes that bug and makes a number of follow on clean ups
to the detection / configuration of IP parameters from the host.

David Gibson (7):
  Allow different external interfaces for IPv4 and IPv6 connectivity
  Separately locate external interfaces for IPv4 and IPv6
  Initialize host side MAC when in IPv6 only mode
  Move passt mac_guest init to be more symmetric with pasta
  Clarify semantics of c->v4 and c->v6 variables
  Separate IPv4 and IPv6 configuration
  Make substructures for IPv4 and IPv6 specific context information

 arp.c                 |   2 +-
 conf.c                | 326 ++++++++++++++++++++++--------------------
 dhcp.c                |  22 +--
 dhcpv6.c              |  18 +--
 ndp.c                 |  16 +--
 netlink.c             |  79 +---------
 netlink.h             |   2 +-
 passt.c               |   6 +-
 passt.h               |  78 +++++-----
 pasta.c               |  14 +-
 tap.c                 |  32 +++--
 tcp.c                 |  56 ++++----
 test/dhcp/passt       |   3 +-
 test/dhcp/pasta       |   3 +-
 test/ndp/passt        |   4 +-
 test/two_guests/basic |   3 +-
 udp.c                 |  70 ++++-----
 util.c                |   6 +-
 util.h                |   6 -
 19 files changed, 357 insertions(+), 389 deletions(-)

-- 
2.37.1


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

end of thread, other threads:[~2022-08-01 10:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22  5:31 [PATCH 0/7] Improved selection of external interface and IP configuration David Gibson
2022-07-22  5:31 ` [PATCH 1/7] Allow different external interfaces for IPv4 and IPv6 connectivity David Gibson
2022-07-22  5:31 ` [PATCH 2/7] Separately locate external interfaces for IPv4 and IPv6 David Gibson
2022-08-01 10:23   ` Stefano Brivio
2022-07-22  5:31 ` [PATCH 3/7] Initialize host side MAC when in IPv6 only mode David Gibson
2022-07-22  5:31 ` [PATCH 4/7] Move passt mac_guest init to be more symmetric with pasta David Gibson
2022-07-22  5:31 ` [PATCH 5/7] Clarify semantics of c->v4 and c->v6 variables David Gibson
2022-08-01 10:24   ` Stefano Brivio
2022-07-22  5:31 ` [PATCH 6/7] Separate IPv4 and IPv6 configuration David Gibson
2022-08-01 10:24   ` Stefano Brivio
2022-07-22  5:31 ` [PATCH 7/7] Make substructures for IPv4 and IPv6 specific context information 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).