Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
commit 086969277e
Notes: sideshowbarker 2024-07-17 16:21:09 +09:00
1665 changed files with 8479 additions and 8479 deletions

View file

@ -17,15 +17,15 @@ public:
~EthernetFrameHeader() = default;
MACAddress destination() const { return m_destination; }
void set_destination(const MACAddress& address) { m_destination = address; }
void set_destination(MACAddress const& address) { m_destination = address; }
MACAddress source() const { return m_source; }
void set_source(const MACAddress& address) { m_source = address; }
void set_source(MACAddress const& address) { m_source = address; }
u16 ether_type() const { return m_ether_type; }
void set_ether_type(u16 ether_type) { m_ether_type = ether_type; }
const void* payload() const { return &m_payload[0]; }
void const* payload() const { return &m_payload[0]; }
void* payload() { return &m_payload[0]; }
private: