]> git.proxmox.com Git - ceph.git/blame - ceph/src/msg/async/dpdk/ethernet.cc
update sources to v12.1.0
[ceph.git] / ceph / src / msg / async / dpdk / ethernet.cc
CommitLineData
7c673cae
FG
1#include <iomanip>
2
3#include "ethernet.h"
4
31f18b77 5std::ostream& operator<<(std::ostream& os, const ethernet_address& ea) {
7c673cae
FG
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}