Hello!

> This is a much simpler and efficent impl. of the IP checksum.
> It is a dry port from Quagga and I have not tested it.

Are you convinced that your version is more efficient? The original version
processes 32 bits at a time, while your code does only 16 bits at a time. It 
might
be worth the saved branch, but do you have any benchmark proving that it
helps?

                                Have a nice fortnight
-- 
Martin `MJ' Mares                          <m...@ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Hex dump:  Where witches put used curses...

Reply via email to