about summary refs log tree commit diff
path: root/arch/x86_64/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-05 17:27:28 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-05 17:27:28 -0400
commit918a40f257328a2d7490829b54687cd38d7b787b (patch)
tree18be9ee1bb7e5c7f6d8c90687ef7131000ee6c3a /arch/x86_64/bits
parent8bb82b4e58cb4dedb276151c47a799c1e51af230 (diff)
downloadmusl-918a40f257328a2d7490829b54687cd38d7b787b.tar.gz
musl-918a40f257328a2d7490829b54687cd38d7b787b.tar.xz
musl-918a40f257328a2d7490829b54687cd38d7b787b.zip
add ip6 pktinfo stuff for x86_64
these defs should probably all be moved out of bits and unified...
Diffstat (limited to 'arch/x86_64/bits')
-rw-r--r--arch/x86_64/bits/in.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86_64/bits/in.h b/arch/x86_64/bits/in.h
index 6219eca0..9d9e8183 100644
--- a/arch/x86_64/bits/in.h
+++ b/arch/x86_64/bits/in.h
@@ -71,6 +71,18 @@ struct in_pktinfo
 	struct in_addr ipi_addr;
 };
 
+struct in6_pktinfo
+{
+	struct in6_addr ipi6_addr;
+	unsigned ipi6_ifindex;
+};
+
+struct in6_mutinfo
+{
+	struct sockaddr_in6 ip6m_addr;
+	uint32_t ip6m_mtu;
+};
+
 #define IPV6_ADDRFORM           1
 #define IPV6_2292PKTINFO        2
 #define IPV6_2292HOPOPTS        3