Skip to contentSkip to conversation

ip/tcp checksumming

DISCUSSION Ivan Chernyavsky 1 participant 1 message Dec 7, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm using ip_queue target with packet modification in a userspace program. So, I need to recompute packet checksums.

I found several references in netfilter-users mailing list telling that some patch was expected to provide helper functions (including checksumming). Unfortunately, I wasn't able to find that patch.

I understand that it's in fact very simple to write my own checksumming routine, but if one should think about performance it seems to be better to use "official" one =)

Could you please point me to some resource? Thanks in advance,

Signature · 1 line
   Ivan