aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-12 23:55:15 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-12 23:55:15 +0000
commitc1600ce36dc0c58185ec67327316d02639da628b (patch)
treecd8e8e356dd4230896e924b36f2ed84d3cff3337 /include
parent78cf5f6ac9e5273a4e7048c4df05270a5a948160 (diff)
downloadglibc-c1600ce36dc0c58185ec67327316d02639da628b.zip
glibc-c1600ce36dc0c58185ec67327316d02639da628b.tar.gz
glibc-c1600ce36dc0c58185ec67327316d02639da628b.tar.bz2
(struct in6addrinfo): Add prefixlen field.
Diffstat (limited to 'include')
-rw-r--r--include/ifaddrs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 71bdaeb..7d52dc6 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -12,7 +12,9 @@ struct in6addrinfo
in6ai_deprecated = 1,
in6ai_temporary = 2,
in6ai_homeaddress = 4
- } flags;
+ } flags:8;
+ uint8_t prefixlen;
+ uint16_t :16;
uint32_t addr[4];
};