mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -42,10 +42,10 @@ class DHCPv4Client final : public Core::Object {
|
|||
public:
|
||||
virtual ~DHCPv4Client() override = default;
|
||||
|
||||
void dhcp_discover(const InterfaceDescriptor& ifname);
|
||||
void dhcp_request(DHCPv4Transaction& transaction, const DHCPv4Packet& packet);
|
||||
void dhcp_discover(InterfaceDescriptor const& ifname);
|
||||
void dhcp_request(DHCPv4Transaction& transaction, DHCPv4Packet const& packet);
|
||||
|
||||
void process_incoming(const DHCPv4Packet& packet);
|
||||
void process_incoming(DHCPv4Packet const& packet);
|
||||
|
||||
bool id_is_registered(u32 id) { return m_ongoing_transactions.contains(id); }
|
||||
|
||||
|
@ -65,7 +65,7 @@ private:
|
|||
RefPtr<Core::Timer> m_check_timer;
|
||||
int m_max_timer_backoff_interval { 600000 }; // 10 minutes
|
||||
|
||||
void handle_offer(const DHCPv4Packet&, const ParsedDHCPv4Options&);
|
||||
void handle_ack(const DHCPv4Packet&, const ParsedDHCPv4Options&);
|
||||
void handle_nak(const DHCPv4Packet&, const ParsedDHCPv4Options&);
|
||||
void handle_offer(DHCPv4Packet const&, ParsedDHCPv4Options const&);
|
||||
void handle_ack(DHCPv4Packet const&, ParsedDHCPv4Options const&);
|
||||
void handle_nak(DHCPv4Packet const&, ParsedDHCPv4Options const&);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue