projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb6a1fe
)
syscall: Define IPV6 constants for Irix.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 27 Jan 2012 22:37:14 +0000
(22:37 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 27 Jan 2012 22:37:14 +0000
(22:37 +0000)
From Rainer Orth.
From-SVN: r183652
libgo/go/syscall/socket_irix.go
patch
|
blob
|
history
diff --git
a/libgo/go/syscall/socket_irix.go
b/libgo/go/syscall/socket_irix.go
index 319a67b47c995faf4388c663ebb4c39684a92f7a..289769b6d3fcf0675ddf393eef29f68f468ed8b0 100644
(file)
--- a/
libgo/go/syscall/socket_irix.go
+++ b/
libgo/go/syscall/socket_irix.go
@@
-119,3
+119,12
@@
const (
func anyToSockaddrOS(rsa *RawSockaddrAny) (Sockaddr, error) {
return nil, EAFNOSUPPORT
}
+
+// <netinet/in.h.h> only provides IPV6_* etc. if _NO_XOPEN4 && _NO_XOPEN5,
+// so as above simply provide them here.
+const (
+ IPV6_UNICAST_HOPS = 48
+ IPV6_MULTICAST_IF = IP_MULTICAST_IF
+ IPV6_MULTICAST_HOPS = IP_MULTICAST_TTL
+ IPV6_MULTICAST_LOOP = IP_MULTICAST_LOOP
+)