]> git.proxmox.com Git - ceph.git/blob - ceph/src/msg/async/dpdk/ethernet.cc
update sources to v12.1.0
[ceph.git] / ceph / src / msg / async / dpdk / ethernet.cc
1 #include <iomanip>
2
3 #include "ethernet.h"
4
5 std::ostream& operator<<(std::ostream& os, const ethernet_address& ea) {
6 auto& m = ea.mac;
7 using u = uint32_t;
8 os << std::hex << std::setw(2)
9 << u(m[0]) << ":"
10 << u(m[1]) << ":"
11 << u(m[2]) << ":"
12 << u(m[3]) << ":"
13 << u(m[4]) << ":"
14 << u(m[5]);
15 return os;
16 }