Hi,

I was trying to build an iptables extension that mangles IPv4 / UDP packets. I 
want to create a stateless NAT mechanism to mangle either source or destination 
similar to RAWDNAT/RAWSNAT targets of xtables-addons 
(http://manpages.ubuntu.com/manpages/precise/man8/xtables-addons.8.html)

However, I wanted to offload the checksum calculation to the NIC, if the 
feature is supported. I have been looking into the kernel files, skb, 
ip_forward modules and so on, but I couldn't get a clear picture on how to 
leverage the offloading to save some CPU cycles and compare both approaches, 
with and without the offloading.

Any help would be highly appreciated! Thanks!

Best,
Jesus


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to