1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

remove redeclaration

This commit is contained in:
John Doe
2015-06-26 12:44:48 +03:00
parent 2befb0cbad
commit a460efb543

View File

@ -10,17 +10,11 @@ struct ip_addr {
typedef struct ip_addr ip_addr_t;
struct ip_info {
struct ip_addr ip;
struct ip_addr netmask;
struct ip_addr gw;
ip_addr_t ip;
ip_addr_t netmask;
ip_addr_t gw;
};
#define IP4_ADDR(ipaddr, a,b,c,d) \
(ipaddr)->addr = ((uint32)((d) & 0xff) << 24) | \
((uint32)((c) & 0xff) << 16) | \
((uint32)((b) & 0xff) << 8) | \
(uint32)((a) & 0xff)
/**
* Determine if two address are on the same network.
*