Subject: RE: [Tsvwg] Chunk and parameter Id conflict

From: [email-masked]
Date: Thu, 21 Mar 2002 18:09:44 +0200

Moi! (Finnish for "Hi!" :->)

	Just one comment...

> Kashif,
> 
> I think you mis-understand something here. 
> There is absolutely no confusion at all. The RFC tells you
> what you should do, if your implementation does not understand
> a chunk type or a parameter type.
> The rule in the RFC states that...
> - ------------------ quote from RFC 2960 
> ----------------------------------
> " Chunk Types are encoded such that the highest-order two bits specify
>   the action that must be taken if the processing endpoint does not
>   recognize the Chunk Type.
>   00 - Stop processing this SCTP packet and discard it, do not process
>        any further chunks within it.
>   01 - Stop processing this SCTP packet and discard it, do not process
>        any further chunks within it, and report the unrecognized
>        parameter in an 'Unrecognized Parameter Type' (in either an
>        ERROR or in the INIT ACK).
>   10 - Skip this chunk and continue processing.
>   11 - Skip this chunk and continue processing, but report in an ERROR
>        Chunk using the 'Unrecognized Chunk Type' cause of error."
> - ------------------ end quote from RFC 2960 
> ----------------------------------
> ...and...
> - ------------------ quote from RFC 2960 
> ----------------------------------
> " The Parameter Types are encoded such that the highest-order two bits
>   specify the action that must be taken if the processing 
> endpoint does
>   not recognize the Parameter Type.
>   00 - Stop processing this SCTP packet and discard it, do not process
>        any further chunks within it.
>   01 - Stop processing this SCTP packet and discard it, do not process
>        any further chunks within it, and report the unrecognized
>        parameter in an 'Unrecognized Parameter Type' (in either an
>        ERROR or in the INIT ACK).
>   10 - Skip this parameter and continue processing.
>   11 - Skip this parameter and continue processing but report the
>        unrecognized parameter in an 'Unrecognized Parameter Type' (in
>        either an ERROR or in the INIT ACK)."
> - ------------------ end quote from RFC 2960 

	Please note that this last text from RFC 2960 will be modified as stated in the Implementor's Guide...

	Moi moi! (Finnish for "Bye bye!" :->)

	BR Iván Arias Rodríguez

> ----------------------------------
> Now, in your chunk processing there should be a routine that checks
> whether you support a chunk (or parameter) that has been received,
> and take the appropriate action, if your implementation does not.
> The identifiers are unique, and only used for one chunk.
> 
> Best regards,
> Andreas

_______________________________________________
tsvwg mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/tsvwg