1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
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: