diff options
Diffstat (limited to 'src/Networking/Network.h')
-rw-r--r-- | src/Networking/Network.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Networking/Network.h b/src/Networking/Network.h index c0ce6e73..2543443d 100644 --- a/src/Networking/Network.h +++ b/src/Networking/Network.h @@ -95,6 +95,9 @@ public: void SetEthernetIPAddress(IPAddress p_ipAddress, IPAddress p_netmask, IPAddress p_gateway) noexcept; IPAddress GetIPAddress(unsigned int interface) const noexcept; + IPAddress GetNetmask(unsigned int interface) const noexcept; + IPAddress GetGateway(unsigned int interface) const noexcept; + bool UsingDhcp(unsigned int interface) const noexcept; const char *GetHostname() const noexcept { return hostname; } void SetHostname(const char *name) noexcept; GCodeResult SetMacAddress(unsigned int interface, const MacAddress& mac, const StringRef& reply) noexcept; |