> I've checked this behavior with a tiny test program. If you're
> interested, you may be able to do the same test for your own
> implementation by:
> - grab the latest version at
> http://orange.kame.net/dev/cvsweb.cgi/kame/kame/kame/advapitest/
> - compile the "accept" command in the test kit.
> - execute "accept -P ipv6-opts" etc.
> (I don't know if the test kit is portable enough, though.)
Not very portable.
Once I wacked away the syntax problems (assuming sin6_len plus a
bunch of stuff due to Solaris not having all of rfc2292bis)
I realized that accept.c assumes that for SOCK_RAW ai_protocol is passed
through from hints to the getaddrinfo result.
The Solaris getaddrinfo doesn't do this. I don't know if this is a Solaris
problem since I haven't check what the standards text for getaddrinfo()
says about SOCK_RAW.
In any case I verified that the socket call doesn't fail on Solaris for
(PF_INET6, SOCK_RAW, exthdr number).
Erik
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page: http://playground.sun.com/ipng
FTP archive: ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------