LibC: Define IN_LOOPBACKNET
some ports expect this to exist
This commit is contained in:
parent
998ea25fb9
commit
3a951f4830
|
|
@ -62,6 +62,7 @@ enum
|
||||||
#define IPV6_V6ONLY IPV6_V6ONLY
|
#define IPV6_V6ONLY IPV6_V6ONLY
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define IN_LOOPBACKNET 127
|
||||||
#define IN_MULTICAST(a) (((in_addr_t)(a) & 0xF0000000) == 0xE0000000)
|
#define IN_MULTICAST(a) (((in_addr_t)(a) & 0xF0000000) == 0xE0000000)
|
||||||
|
|
||||||
#define INADDR_ANY 0
|
#define INADDR_ANY 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue