NF_INET_LOCAL_OUT and packet checksum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux