NF_INET_LOCAL_OUT and packet checksum
Hi to all.
I would like to know wether in NF_INET_LOCAL_OUT packets arrive already checksummed
(both IP and layer4 checksums).
Actually I noticed, in nf_nat_core.c and nf_nat_proto_tcp/udp.c the use of
csum_replace4() and csum_replace2().
Is the checksum in all cases already correctly calculated in this hook? Does netfilter recalculate it afterwards? (post routing?)
Thanks in advance.
Giacomo