linux/include/net/tc_act
Grégoire Baron eb4d406545 net/sched: add ACT_CSUM action to update packets checksums
net/sched: add ACT_CSUM action to update packets checksums

ACT_CSUM can be called just after ACT_PEDIT in order to re-compute some
altered checksums in IPv4 and IPv6 packets. The following checksums are
supported by this patch:
 - IPv4: IPv4 header, ICMP, IGMP, TCP, UDP & UDPLite
 - IPv6: ICMPv6, TCP, UDP & UDPLite
It's possible to request in the same action to update different kind of
checksums, if the packets flow mix TCP, UDP and UDPLite, ...

An example of usage is done in the associated iproute2 patch.

Version 3 changes:
 - remove useless goto instructions
 - improve IPv6 hop options decoding

Version 2 changes:
 - coding style correction
 - remove useless arguments of some functions
 - use stack in tcf_csum_dump()
 - add tcf_csum_skb_nextlayer() to factor code

Signed-off-by: Gregoire Baron <baronchon@n7mm.org>
Acked-by: jamal <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-20 01:42:59 -07:00
..
tc_csum.h net/sched: add ACT_CSUM action to update packets checksums 2010-08-20 01:42:59 -07:00
tc_defact.h
tc_gact.h
tc_ipt.h
tc_mirred.h net sched: fix race in mirred device removal 2010-07-24 21:04:20 -07:00
tc_nat.h [PKT_SCHED]: Add stateless NAT 2007-10-10 16:53:11 -07:00
tc_pedit.h
tc_skbedit.h pkt_sched: skbedit add support for setting mark 2009-10-22 21:56:42 -07:00