public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v3 0/3] dhcp: Add support for Rapid Commit, broadcast replies
@ 2024-11-25 15:28 Stefano Brivio
  2024-11-25 15:28 ` [PATCH v3 1/3] dhcp: Use -1 as "missing option" length instead of 0 Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefano Brivio @ 2024-11-25 15:28 UTC (permalink / raw)
  To: passt-dev; +Cc: David Gibson

These are all changes coming from pending muvm experiments where I'm
trying to speed up and simplify the networking setup in the guest.

v3: In 1/3, set 'slen' for options we won't send to -1 in dhcp_init(),
    and reset it for option 80 every time we handle a DHCP request. Add
    a comment about DHCP needing a valid message type (option 53)

v2: In 3/3, add in4addr_broadcast to ip.h, instead of open-coding it in
    dhcp()

Stefano Brivio (3):
  dhcp: Use -1 as "missing option" length instead of 0
  dhcp: Introduce support for Rapid Commit (option 80, RFC 4039)
  dhcp: Honour broadcast flag (RFC 2131, 4.1)

 dhcp.c | 51 ++++++++++++++++++++++++++++++++++++++++-----------
 ip.h   |  3 +++
 2 files changed, 43 insertions(+), 11 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-11-26  1:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-25 15:28 [PATCH v3 0/3] dhcp: Add support for Rapid Commit, broadcast replies Stefano Brivio
2024-11-25 15:28 ` [PATCH v3 1/3] dhcp: Use -1 as "missing option" length instead of 0 Stefano Brivio
2024-11-26  1:12   ` David Gibson
2024-11-25 15:28 ` [PATCH v3 2/3] dhcp: Introduce support for Rapid Commit (option 80, RFC 4039) Stefano Brivio
2024-11-26  1:15   ` David Gibson
2024-11-25 15:28 ` [PATCH v3 3/3] dhcp: Honour broadcast flag (RFC 2131, 4.1) Stefano Brivio
2024-11-26  1:16   ` 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).