#include <array>
#include <sstream>
-#include "include/assert.h"
+#include "include/ceph_assert.h"
#include "byteorder.h"
struct ethernet_address {
}
ethernet_address(std::initializer_list<uint8_t> eaddr) {
- assert(eaddr.size() == mac.size());
+ ceph_assert(eaddr.size() == mac.size());
std::copy(eaddr.begin(), eaddr.end(), mac.begin());
}
struct ethernet {
using address = ethernet_address;
static address broadcast_address() {
- return {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
+ return {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
}
static constexpr uint16_t arp_hardware_type() { return 1; }
};