Drop handle_udp parameter threading: ipv4::handle calls net_handle_udp directly

This commit is contained in:
Ian Gulliver
2026-04-17 14:55:09 -07:00
parent e2daf04bed
commit 40f7fb5941
4 changed files with 7 additions and 8 deletions

View File

@@ -2,7 +2,6 @@
#include <array>
#include <cstdint>
#include <cstdio>
#include <functional>
#include <span>
#include <string>
#include "eth.h"
@@ -57,7 +56,6 @@ void prepend(Buf& buf, const eth::mac_addr& dst_mac, const eth::mac_addr& src_ma
}
void handle(std::span<const uint8_t> frame, span_writer& tx,
eth::mac_addr our_mac, ip4_addr our_ip, ip4_addr subnet_broadcast,
std::function<void(std::span<const uint8_t>, span_writer&)> handle_udp);
eth::mac_addr our_mac, ip4_addr our_ip, ip4_addr subnet_broadcast);
} // namespace ipv4