LibC: Add in6addr_{any,loopback} definitions

This commit is contained in:
2025-07-28 16:11:48 +03:00
parent 31e411f8f1
commit 52309e0754
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#include <netinet/in.h>
const struct in6_addr in6addr_any = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const struct in6_addr in6addr_loopback = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };