> For RAW sockets, an application can use any procotol for IPv4. In IPv6, I
> imagine there are problems if a RAW application opens a socket and uses a
> known IPv6 extension header number as the protocol since now the IP layer
> will expect that next header field to be an extension header. Therefore,
> is it a restriction now that an IPv6 RAW application cannot use an known
> IPv6 extension header as the protocol on the socket call?
Good question.
I suspect this is implementation dependent since the Advanced API is
silent on the issue.
What do different implementations do?
My guess (from the structure of the code - I haven't run a test) is that
Solaris will not return an error to the socket call, but that the
socket will not receive any packets since the extension header processing
in IP will take precendence.
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]
--------------------------------------------------------------------