Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Networking/Network.h')
-rw-r--r--src/Networking/Network.h3
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;