Hi all,

        I’m currently porting the NoviFlow Experiments OF (match, action, msg). 
I’m currently porting the VXLan encapsulation and was wondering, by adding new 
layers of ETH, IP, UDP and VXLAN before the existing packet, how to calculate 
the IP header checksum. I mean, if there is an existing function to do it, or 
it is done automatically in the code (I did now see that but I’m no expert on 
OVS even if I know more now).

        I have seen the following function: csum_tcpudp_magic being used by 
lower level of code. 

        Anyway I’d like to know: Is it calculated automatically? Do I need to 
use csum_tcpudp_magic? Or roll out my own function (which I’d like to avoid).

Thanks in advance.

Yann Bourdeau, M.Ing.
Senior Software Developer
438-499-4607
[email protected]



_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to