add ip6 pktinfo stuff for x86_64

these defs should probably all be moved out of bits and unified...
This commit is contained in:
Rich Felker 2011-04-05 17:27:28 -04:00
parent 8bb82b4e58
commit 918a40f257
1 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,18 @@ struct in_pktinfo
struct in_addr ipi_addr; 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_ADDRFORM 1
#define IPV6_2292PKTINFO 2 #define IPV6_2292PKTINFO 2
#define IPV6_2292HOPOPTS 3 #define IPV6_2292HOPOPTS 3