diff options
Diffstat (limited to 'lib/in46_addr.h')
-rw-r--r-- | lib/in46_addr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/in46_addr.h b/lib/in46_addr.h index 153df00..5589f94 100644 --- a/lib/in46_addr.h +++ b/lib/in46_addr.h @@ -39,3 +39,5 @@ static inline bool in46a_is_v6(const struct in46_addr *addr) { static inline bool in46a_is_v4(const struct in46_addr *addr) { return addr->len == sizeof(struct in_addr); } + +void in46a_from_gsna(const struct ul16_t *in, struct in46_addr *dst); |