Markku Savela wrote:
>>>e.g. I am developing SCTP and would only like to receive ICMP
>>>_error_ messages for SCTP. i.e. I would like only packets in which
>>>the offending IPv6 packet has a Next Header field == IPPROTO_SCTP
>>>in the IPv6 header.
>>>
>
> Isn't there already last error or something, that you could query from
> the SCTP socket. That error would be the last ICMP error specific to
> that socket.
>
> Or, there is no such feature in sockets? It would be a sensible
> feature for the stack to route ICMP errors that are specific to a
> socket to the specific socket.
I agree that it is a sensible feature to get ICMP errors that are
specific to a socket. In the raw socket case, the socket is based on a
protocol. This is why a protocol filter would be useful.
However, I am NOT suggesting to use the same socket which
implements the protocol to be used also for ICMP error messages.
(This would be too complicated.) I am suggesting that we can
expand the filtering capabilities of an ICMPv6 socket to
filter on 'protocol' as well.
--
David Lehmann Ulticom, Inc.
AOL IM: davidULCM 1020 Briggs Road
1-856-787-2729 Mt. Laurel, NJ 08054 USA
--------------------------------------------------------------------
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]
--------------------------------------------------------------------