iproute2/include/linux
Gregoire Baron 3822cc986c tc: add ACT_CSUM action support (csum)
Add the iproute2 support for the ACT_CSUM action. Can be used as
following, certainly in conjunction with the ACT_PEDIT action (pedit):

 # In order to DNAT (stateless) IPv4 packet from 192.168.1.100 to
 #  0x12345678 (18.52.86.120), and update the IPv4 header checksum and
 #  the UDP checksum (the last one, only if the packet is UDP).
tc filter add eth0 prio 1 protocol ip parent ffff: \
  u32 match ip src 192.168.1.100/32 flowid :1 \
    action pedit munge offset 16 u32 set 0x12345678 \
      pipe csum ip and udp

 # In order to alter destination address of IPv6 TCP packets from fc00::1
 #  and correct the TCP checksum (nothing happened? except maybe for
 #  checksums in the TCP payload ...).
tc filter add eth0 prio 1 protocol ipv6 parent ffff: \
  u32 match ip6 src fc00::1/128 match ip6 protocol 0x06 0xff flowid :1 \
    action pedit munge offset 24 u32 set 0x12345678 \
      pipe csum tcp
2010-12-01 11:17:46 -08:00
..
can Update headers for 2.6.33-net-next 2010-03-03 16:22:00 -08:00
hdlc add include/linux/hdlc/ioctl.h 2008-02-13 12:32:49 -08:00
netfilter Update kernel derived headers 2010-05-19 08:58:13 -07:00
netfilter_ipv4 Update exported kernel headers 2009-12-26 11:02:25 -08:00
tc_act tc: add ACT_CSUM action support (csum) 2010-12-01 11:17:46 -08:00
tc_ematch Update to 2.6.36 headers 2010-10-20 17:38:04 -07:00
atm.h Use sanatized headers from 2.6.29 2009-03-24 15:13:31 -07:00
atmapi.h ATM cell alignment. 2008-04-17 10:04:31 -07:00
atmioc.h ATM cell alignment. 2008-04-17 10:04:31 -07:00
atmsap.h ATM cell alignment. 2008-04-17 10:04:31 -07:00
fib_rules.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
gen_stats.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
genetlink.h Update kernel derived headers 2010-05-19 08:58:13 -07:00
if.h Update kernel headers to 2.6.36-rc2 2010-08-23 08:35:08 -07:00
if_addr.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
if_addrlabel.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
if_arp.h Update kernel derived headers 2010-05-19 08:58:13 -07:00
if_ether.h Update to 2.6.36 headers 2010-10-20 17:38:04 -07:00
if_link.h Update kernel headers to 2.6.36-rc2 2010-08-23 08:35:08 -07:00
if_tun.h Update kernel derived headers 2010-05-19 08:58:13 -07:00
if_tunnel.h Update to 2.6.34-rc2 headers 2010-03-29 15:13:14 -07:00
if_vlan.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
inet_diag.h Update kernel headers to 2.6.31 2009-09-10 09:03:22 -07:00
ip6_tunnel.h Use sanatized headers from 2.6.29 2009-03-24 15:13:31 -07:00
neighbour.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
netdevice.h Update to 2.6.36 headers 2010-10-20 17:38:04 -07:00
netfilter.h Update headers to 2.6.28 2009-01-06 15:03:26 -08:00
netfilter_ipv4.h Update kernel headers to 2.6.31 2009-09-10 09:03:22 -07:00
netlink.h Update to 2.6.36 headers 2010-10-20 17:38:04 -07:00
pkt_cls.h iproute2: tc: f_flow: add key rxhash 2010-11-30 09:57:36 -08:00
pkt_sched.h Update exported kernel headers 2009-12-26 11:02:25 -08:00
rtnetlink.h Update kernel headers to 2.6.36-rc2 2010-08-23 08:35:08 -07:00
socket.h Update to 2.6.32 kernel headers 2009-11-10 08:51:17 -08:00
types.h Update to 2.6.36 headers 2010-10-20 17:38:04 -07:00
veth.h veth.h move to linux/ 2007-12-25 12:38:08 -08:00
xfrm.h Update headers for 2.6.33-net-next 2010-03-03 16:22:00 -08:00