mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07: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
|
@ -64,11 +64,11 @@ public:
|
|||
}
|
||||
virtual bool link_full_duplex() { return false; }
|
||||
|
||||
void set_ipv4_address(const IPv4Address&);
|
||||
void set_ipv4_netmask(const IPv4Address&);
|
||||
void set_ipv4_gateway(const IPv4Address&);
|
||||
void set_ipv4_address(IPv4Address const&);
|
||||
void set_ipv4_netmask(IPv4Address const&);
|
||||
void set_ipv4_gateway(IPv4Address const&);
|
||||
|
||||
void send(const MACAddress&, const ARPPacket&);
|
||||
void send(MACAddress const&, ARPPacket const&);
|
||||
void fill_in_ipv4_header(PacketWithTimestamp&, IPv4Address const&, MACAddress const&, IPv4Address const&, IPv4Protocol, size_t, u8 type_of_service, u8 ttl);
|
||||
|
||||
size_t dequeue_packet(u8* buffer, size_t buffer_size, Time& packet_timestamp);
|
||||
|
@ -95,7 +95,7 @@ public:
|
|||
|
||||
protected:
|
||||
NetworkAdapter(NonnullOwnPtr<KString>);
|
||||
void set_mac_address(const MACAddress& mac_address) { m_mac_address = mac_address; }
|
||||
void set_mac_address(MACAddress const& mac_address) { m_mac_address = mac_address; }
|
||||
void did_receive(ReadonlyBytes);
|
||||
virtual void send_raw(ReadonlyBytes) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue