The MPLS WG Archive[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index][Thread Index][Author Index][Subject Index] Checksum in RSVP messages
Hi all,
I have a couple of questions about calculating RSVP checksum in the
common header.
Our SW product implementing RSVP calculates the checksum making the
one's complement of sum two-by-two of the bytes contained in the
messages.
The problem is that using the Sniffer protocol analizer to decode the
messages sent by the nodes, the checksum seems to be wrong.
The RFC 2205 says the checksum is calculated in the following way:
"The one's complement of the one's complement sum of the
message , with the checksum field replaced by
zero..."
Are the bytes within the message supposed to be added one-by-one or
two-by-two?
Are we supposed to make the one's complement of the message, make the
sum and, at the end, the one's complement of the sum?
I would appreciate your help to solve my problem since I don't know
where to get more info.
Thanks
begin:vcard n:Guglielmi;Roberto x-mozilla-html:FALSE org:Alcatel Italy;IP Laboratory adr:;;;;;; version:2.1 email;internet:roberto.guglielmi@netit.alcatel.it title:SW Designer note:Tel. +39 039 6864801 x-mozilla-cpt:;-20560 fn:Roberto Guglielmi end:vcard
|
|