[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/LIBLWIP PATCH 1/3] Add missing EAI_* macro definitions
Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx> --- include/netdb.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/netdb.h b/include/netdb.h index b100136..574a77d 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -1,3 +1,5 @@ +#ifndef _LWIP_GLUE_NETDB_H_ +#define _LWIP_GLUE_NETDB_H_ #include <compat/posix/netdb.h> #if LWIP_DNS && LWIP_SOCKET @@ -58,7 +60,13 @@ void setprotoent(int stayopen); #define NI_NUMERICSCOPE 0x20 /* Error values for getaddrinfo() not defined by lwip/netdb.h */ -#define EAI_OVERFLOW 205 /* Argument buffer overflow. */ +#define EAI_BADFLAGS -1 +#define EAI_AGAIN -3 +#define EAI_NODATA -5 +#define EAI_SOCKTYPE -7 +#define EAI_ADDRFAMILY -9 +#define EAI_SYSTEM -11 +#define EAI_OVERFLOW -12 int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, char *host, socklen_t hostlen, @@ -66,3 +74,4 @@ int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, struct servent *getservbyname(const char *name, const char *proto); struct servent *getservbyport(int port, const char *proto); +#endif -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |