diff options
Diffstat (limited to 'src/Networking/NetworkInterface.h')
-rw-r--r-- | src/Networking/NetworkInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Networking/NetworkInterface.h b/src/Networking/NetworkInterface.h index 9401827b..b6279eef 100644 --- a/src/Networking/NetworkInterface.h +++ b/src/Networking/NetworkInterface.h @@ -35,6 +35,9 @@ public: virtual GCodeResult ReportProtocols(const StringRef& reply) const noexcept = 0; virtual IPAddress GetIPAddress() const noexcept = 0; + virtual IPAddress GetNetmask() const noexcept = 0; + virtual IPAddress GetGateway() const noexcept = 0; + virtual bool UsingDhcp() const noexcept = 0; virtual void SetIPAddress(IPAddress p_ipAddress, IPAddress p_netmask, IPAddress p_gateway) noexcept = 0; virtual GCodeResult SetMacAddress(const MacAddress& mac, const StringRef& reply) noexcept = 0; virtual const MacAddress& GetMacAddress() const noexcept = 0; |