提交 918a40f2 编写于 作者: R Rich Felker

add ip6 pktinfo stuff for x86_64

these defs should probably all be moved out of bits and unified...
上级 8bb82b4e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册