From: Ian Lance Taylor Date: Fri, 27 Jan 2012 22:37:14 +0000 (+0000) Subject: syscall: Define IPV6 constants for Irix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af5c13eb0498074d18c6bc4287e39e859def927e;p=gcc.git syscall: Define IPV6 constants for Irix. From Rainer Orth. From-SVN: r183652 --- diff --git a/libgo/go/syscall/socket_irix.go b/libgo/go/syscall/socket_irix.go index 319a67b47c9..289769b6d3f 100644 --- 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 } + +// 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 +)