Commit af5c13eb by Ian Lance Taylor

syscall: Define IPV6 constants for Irix.

From Rainer Orth.

From-SVN: r183652
parent eb6a1fe0
...@@ -119,3 +119,12 @@ const ( ...@@ -119,3 +119,12 @@ const (
func anyToSockaddrOS(rsa *RawSockaddrAny) (Sockaddr, error) { func anyToSockaddrOS(rsa *RawSockaddrAny) (Sockaddr, error) {
return nil, EAFNOSUPPORT 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
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment