sourceturner
f035178b00
revert checks for presence of IPv6 related symbols
2026-06-06 16:18:01 +02:00
sourceturner
20d89d166c
use ip6 feature flag for IPv6 related definitions
...
as a consequence, some unit tests have to be fixed, too
2026-06-04 17:48:14 +02:00
sourceturner
fddf16c8b1
fix netdb/getaddrinfo unit test
2026-06-04 17:33:37 +02:00
auronandace
7cf6933f81
remove sys_socket include from netdb tests
2026-04-13 11:14:11 +01:00
Wildan M
726a0fb1a8
Implement getaddrinfo NULL nodename, AI_PASSIVE, AI_NUMERICHOST
2025-09-15 15:10:50 +07:00
Josh Megnauth
bf1ea4e799
Set h_errno for gethostbyname/addr
2024-11-02 12:21:47 +00:00
Giuseppe Longo
12beb13987
netdb: implement getnetbynane and getnetent
...
This patch implements getnetbyname and getnetent functions.
2020-06-07 14:02:41 +02:00
Jeremy Soller
65aeda1f59
Use AF_INET6 instead of PF_INET6 in test
2019-03-27 20:56:59 -06:00
Tibor Nagy
9a0ea6ff34
tests: More refactoring, add helper header to every test, override exit for better error reporting
2019-02-21 21:13:28 +01:00
Tibor Nagy
d1a424c002
tests: Replace returns with exits in the main functions
...
This will allow us to redefine the exit function.
For example:
```
#define exit(code) { \
fprintf(stderr, "%s:%d: exit(%s) in function ‘%s’\n",
__FILE__, __LINE__, #code, __func__); \
_exit(code); \
}
```
2019-02-21 12:15:06 +01:00
Tibor Nagy
4381bb2a22
tests: Remove redundant return statements
...
When the execution reaches the end of the main functions, they implicitly return a successful status.
2019-02-20 21:09:03 +01:00
Tibor Nagy
c19cc8b731
tests: Portability fixes, replaced 0/1/-1 return codes with macros
2019-02-20 20:20:07 +01:00
Tibor Nagy
ff874c87d7
tests: Fix function signatures
2019-02-20 19:27:18 +01:00
Jeremy Soller
c59f268fcd
Implement getaddrinfo (somewhat)
2019-01-21 20:36:56 -07:00