I am transporting uncompressed voice data (G.711) using RTP/UDP/IP. I
really don't care about errors, and in fact would rather use damaged
data than have a completely missing packet, and so am not calculating a
UDP checksum, instead setting the checksum to zero, as is legal in IPv4.
In addition, I don't have the compute resources to calculate and/or
check the checksum (whose computation includes the entire UDP payload)
for all the voice channels I'm simultaneously dealing with.

So what should I do if I want to use IPv6, which mandates UDP checksums
and requires receivers to discard UDP packets without checksums (i.e.
with zero checksum)? I assume that there is also a mandate to discard
UDP packets whose checksum is wrong, although I don't see that
explicitly in either the UDP or IPv6 RFCs.

--ms 



>From RFC 2460:
Unlike IPv4, when UDP packets are originated by an IPv6 node, the UDP
checksum is not optional. That is, whenever originating a UDP packet, an
IPv6 node must compute a UDP checksum over the packet and the
pseudo-header, and, if that computation yields a result of zero, it must
be changed to hex FFFF for placement in the UDP header. IPv6 receivers
must discard UDP packets containing a zero checksum, and should log the
error. 

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to