projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb82b4
)
add ip6 pktinfo stuff for x86_64
author
Rich Felker
<dalias@aerifal.cx>
Tue, 5 Apr 2011 21:27:28 +0000
(17:27 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 5 Apr 2011 21:27:28 +0000
(17:27 -0400)
these defs should probably all be moved out of bits and unified...
arch/x86_64/bits/in.h
patch
|
blob
|
history
diff --git
a/arch/x86_64/bits/in.h
b/arch/x86_64/bits/in.h
index 6219eca010521ebfee5f67d033db6c5eb63407af..9d9e8183e9aeec3611c63890869d5be772fa4a63 100644
(file)
--- 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