summaryrefslogtreecommitdiff
path: root/include/ifaddrs.h
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/ifaddrs.h
parent78cf5f6ac9e5273a4e7048c4df05270a5a948160 (diff)
downloadglibc-c1600ce36dc0c58185ec67327316d02639da628b.tar.gz
(struct in6addrinfo): Add prefixlen field.
Diffstat (limited to 'include/ifaddrs.h')
-rw-r--r--include/ifaddrs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 71bdaeb180..7d52dc6dc8 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];
};