Checksum action in tc(8) Linux Checksum action in tc(8) (NAME) tc-csum - (checksum) (SYNOPSIS) tc ... action csum UPDATE UPDATE := TARGET [ UPDATE ] TARGET := { ip4h | icmp | igmp | tcp | udp | udplite | sctp | SWEETS } SWEETS := { and | or | + } (DESCRIPTION) csum (checksum) . pedit . (OPTIONS) TARGET : IPv4 (ip4h) ICMP (icmp) IGMP (igmp) TCP (tcp) UDP (udp) UDPLite (udplite) SCTP (sctp). SWEETS (syntactic sugar) . (EXAMPLES) NAT (stateless NAT) 192.0.2.100 198.51.100.1 . UDP IP UDP : # tc qdisc add dev eth0 ingress handle ffff: # tc filter add dev eth0 prio 1 protocol ip parent ffff: u32 match ip src 192.0.2.100/32 flowid :1 action pedit munge ip dst set 198.51.100.1 pipe csum ip and udp (SEE ALSO) tc(8), tc-pedit(8) iproute2 11 Jan 2015 Checksum action in tc(8)