diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-01-16 09:31:00 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-01-16 09:31:00 -0800 |
commit | ea2646501e91437345afd1cfc85704dd1f983d66 (patch) | |
tree | 7234aff97fec4fa9c1214afdfe67aed6b0ff0313 /net.h | |
parent | d85bd0c9435bbcab8b63b07652a01e4e5a4a6eaf (diff) |
Added support for MegaWiFi command IP_CURRENT
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#ifndef NET_H_ +#define NET_H_ +#include <stdint.h> + +typedef struct { + uint8_t ip[4]; + uint8_t net_mask[4]; +} iface_info; + +uint8_t get_host_address(iface_info *out); + +#endif //NET_H_ |