From 918a40f257328a2d7490829b54687cd38d7b787b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 5 Apr 2011 17:27:28 -0400 Subject: add ip6 pktinfo stuff for x86_64 these defs should probably all be moved out of bits and unified... --- arch/x86_64/bits/in.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch') 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 -- cgit v1.2.1