From: David Gibson <david@gibson.dropbear.id.au>
To: passt-dev@passt.top
Subject: [PATCH 0/7] Improved selection of external interface and IP configuration
Date: Fri, 22 Jul 2022 15:31:11 +1000 [thread overview]
Message-ID: <20220722053118.1067459-1-david@gibson.dropbear.id.au> (raw)
[-- 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
next reply other threads:[~2022-07-22 5:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-22 5:31 David Gibson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220722053118.1067459-1-david@gibson.dropbear.id.au \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).