aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 01a67804..822f4319 100644
--- a/src/library.js
+++ b/src/library.js
@@ -7224,6 +7224,23 @@ LibraryManager.library = {
return 1;
},
+ // netinet/in.h
+
+ _in6addr_any:
+ 'allocate([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC)',
+ _in6addr_loopback:
+ 'allocate([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], "i8", ALLOC_STATIC)',
+ _in6addr_linklocal_allnodes:
+ 'allocate([255,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1], "i8", ALLOC_STATIC)',
+ _in6addr_linklocal_allrouters:
+ 'allocate([255,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2], "i8", ALLOC_STATIC)',
+ _in6addr_interfacelocal_allnodes:
+ 'allocate([255,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1], "i8", ALLOC_STATIC)',
+ _in6addr_interfacelocal_allrouters:
+ 'allocate([255,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2], "i8", ALLOC_STATIC)',
+ _in6addr_sitelocal_allrouters:
+ 'allocate([255,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2], "i8", ALLOC_STATIC)',
+
// ==========================================================================
// netdb.h
// ==========================================================================