[Asterisk-Dev] RTP not sending UDP checksums?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Mon Feb 28 15:03:38 MST 2005


>> This is a possibility, there are a decent number of hardware 
>> supported offload engines built into ethernet cards 
>> nowadays....though I don't know how many support UDP...but if yours 
>> does then you could end up without UDP checksums until it actually 
>> goes out on the wire.
>
> Very true... nearly every decent Ethernet card nowadays does IP 
> checksums on its own, many of them probably do UDP checksums as well.

In linux, the only way to have the kernel offload IP/TCP checksumming 
to the NIC is to use the sendfile() call. AFAIK there's no possibility 
to have the kernel offload any UDP checksumming to the NIC

roy




More information about the asterisk-dev mailing list