123
Diff: UipEthernet.h
- Revision:
- 16:269f652b4d0b
- Parent:
- 15:53715cc81c63
--- a/UipEthernet.h Sat Sep 07 17:42:42 2019 +0000 +++ b/UipEthernet.h Fri Jun 05 15:12:21 2020 +0000 @@ -63,8 +63,11 @@ IpAddress gatewayIP(); IpAddress dnsServerIP(); const char* get_ip_address(); + void get_ip_address(SocketAddress* addr); const char* get_netmask(); + void get_netmask(SocketAddress* addr); const char* get_gateway(); + void get_gateway(SocketAddress* addr); static uint16_t chksum(uint16_t sum, const uint8_t* data, uint16_t len); static uint16_t ipchksum(); bool stoip4(const char *ip4addr, size_t len, void *dest);