Add ping rate tests, discover_peer helper, standardize prepend_buffer to 4096
This commit is contained in:
@@ -36,7 +36,7 @@ bool is_member_mac(const eth::mac_addr& mac) {
|
||||
static void send_report(const ipv4::ip4_addr& group,
|
||||
eth::mac_addr our_mac, ipv4::ip4_addr our_ip,
|
||||
std::function<void(std::span<const uint8_t>)> send_raw) {
|
||||
prepend_buffer<128> buf;
|
||||
prepend_buffer<4096> buf;
|
||||
prepend_report(buf, our_mac, our_ip, group);
|
||||
send_raw(buf.span());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user