Split net stack into eth/arp/ipv4/icmp, deferred handler responses, ping tests

This commit is contained in:
Ian Gulliver
2026-04-11 08:15:41 +09:00
parent 34efaeefd5
commit c35c1de76a
16 changed files with 522 additions and 330 deletions

View File

@@ -1,9 +1,11 @@
#pragma once
#include <optional>
#include <string_view>
#include "dispatch.h"
#include "wire.h"
extern std::string_view firmware_name;
ResponsePICOBOOT handle_picoboot(const RequestPICOBOOT&);
ResponseInfo handle_info(const RequestInfo&);
ResponseLog handle_log(const RequestLog&);
std::optional<ResponsePICOBOOT> handle_picoboot(const responder& resp, const RequestPICOBOOT&);
std::optional<ResponseInfo> handle_info(const responder& resp, const RequestInfo&);
std::optional<ResponseLog> handle_log(const responder& resp, const RequestLog&);