diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-04-01 20:58:27 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-01 21:24:45 +0100 |
commit | 086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch) | |
tree | 02b3699a66735ef806d9b46353491f18f8e4e7b4 /Kernel/Net/ARP.h | |
parent | 0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff) | |
download | serenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip |
Everywhere: Run clang-format
Diffstat (limited to 'Kernel/Net/ARP.h')
-rw-r--r-- | Kernel/Net/ARP.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Kernel/Net/ARP.h b/Kernel/Net/ARP.h index 8d56810b39..fe984b94df 100644 --- a/Kernel/Net/ARP.h +++ b/Kernel/Net/ARP.h @@ -43,17 +43,17 @@ public: u16 operation() const { return m_operation; } void set_operation(u16 w) { m_operation = w; } - const MACAddress& sender_hardware_address() const { return m_sender_hardware_address; } - void set_sender_hardware_address(const MACAddress& address) { m_sender_hardware_address = address; } + MACAddress const& sender_hardware_address() const { return m_sender_hardware_address; } + void set_sender_hardware_address(MACAddress const& address) { m_sender_hardware_address = address; } - const IPv4Address& sender_protocol_address() const { return m_sender_protocol_address; } - void set_sender_protocol_address(const IPv4Address& address) { m_sender_protocol_address = address; } + IPv4Address const& sender_protocol_address() const { return m_sender_protocol_address; } + void set_sender_protocol_address(IPv4Address const& address) { m_sender_protocol_address = address; } - const MACAddress& target_hardware_address() const { return m_target_hardware_address; } - void set_target_hardware_address(const MACAddress& address) { m_target_hardware_address = address; } + MACAddress const& target_hardware_address() const { return m_target_hardware_address; } + void set_target_hardware_address(MACAddress const& address) { m_target_hardware_address = address; } - const IPv4Address& target_protocol_address() const { return m_target_protocol_address; } - void set_target_protocol_address(const IPv4Address& address) { m_target_protocol_address = address; } + IPv4Address const& target_protocol_address() const { return m_target_protocol_address; } + void set_target_protocol_address(IPv4Address const& address) { m_target_protocol_address = address; } private: NetworkOrdered<u16> m_hardware_type { ARPHardwareType::Ethernet }; |