linux-xiaomi-chiron/include/linux/netfilter
Michael S. Tsirkin edf0e1fb0d netfilter: add CHECKSUM target
This adds a `CHECKSUM' target, which can be used in the iptables mangle
table.

You can use this target to compute and fill in the checksum in
a packet that lacks a checksum.  This is particularly useful,
if you need to work around old applications such as dhcp clients,
that do not work well with checksum offloads, but don't want to
disable checksum offload in your device.

The problem happens in the field with virtualized applications.
For reference, see Red Hat bz 605555, as well as
http://www.spinics.net/lists/kvm/msg37660.html

Typical expected use (helps old dhclient binary running in a VM):
iptables -A POSTROUTING -t mangle -p udp --dport bootpc \
	-j CHECKSUM --checksum-fill

Includes fixes by Jan Engelhardt <jengelh@medozas.de>

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-15 17:20:46 +02:00
..
Kbuild netfilter: xtables: idletimer target implementation 2010-06-15 15:04:00 +02:00
nf_conntrack_amanda.h
nf_conntrack_common.h netfilter: nf_conntrack: IPS_UNTRACKED bit 2010-06-08 16:09:52 +02:00
nf_conntrack_dccp.h
nf_conntrack_ftp.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
nf_conntrack_h323.h
nf_conntrack_h323_asn1.h
nf_conntrack_h323_types.h
nf_conntrack_irc.h
nf_conntrack_pptp.h
nf_conntrack_proto_gre.h netfilter: netns nf_conntrack: GRE conntracking in netns 2008-10-08 11:35:10 +02:00
nf_conntrack_sane.h
nf_conntrack_sctp.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
nf_conntrack_sip.h netfilter: nf_conntrack_sip: add T.38 FAX support 2010-02-11 12:30:21 +01:00
nf_conntrack_tcp.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6 2009-12-03 13:23:12 -08:00
nf_conntrack_tftp.h
nf_conntrack_tuple_common.h netfilter: include/linux/netfilter/nf_conntrack_tuple_common.h: Checkpatch cleanup 2010-03-08 13:13:07 +01:00
nfnetlink.h netfilter: ctnetlink: fix reliable event delivery if message building fails 2010-03-20 14:29:03 -07:00
nfnetlink_compat.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
nfnetlink_conntrack.h netfilter: ctnetlink: add zone support 2010-02-15 18:14:57 +01:00
nfnetlink_log.h nfnetlink_log: do not expose NFULNL_COPY_DISABLED to user-space 2010-07-15 11:27:41 +02:00
nfnetlink_queue.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
x_tables.h netfilter: xtables: stackptr should be percpu 2010-05-31 16:41:35 +02:00
xt_CHECKSUM.h netfilter: add CHECKSUM target 2010-07-15 17:20:46 +02:00
xt_CLASSIFY.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_cluster.h netfilter: xt_cluster: fix use of cluster match with 32 nodes 2009-05-05 17:46:07 +02:00
xt_comment.h
xt_connbytes.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_connlimit.h
xt_CONNMARK.h netfilter: xtables: merge xt_CONNMARK into xt_connmark 2010-03-17 15:48:36 +01:00
xt_connmark.h netfilter: xtables: merge xt_CONNMARK into xt_connmark 2010-03-17 15:48:36 +01:00
xt_CONNSECMARK.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_conntrack.h netfilter: xtables: remove xt_conntrack v0 2009-08-10 13:09:44 +02:00
xt_CT.h netfilter: nf_conntrack: add support for "conntrack zones" 2010-02-15 18:13:33 +01:00
xt_dccp.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_dscp.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_DSCP.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_esp.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_hashlimit.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_helper.h
xt_IDLETIMER.h netfilter: xtables: idletimer target implementation 2010-06-15 15:04:00 +02:00
xt_iprange.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_LED.h netfilter: add missing linux/types.h include to xt_LED.h 2009-05-05 14:31:12 +02:00
xt_length.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_limit.h Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-03-26 16:11:41 -07:00
xt_mac.h
xt_MARK.h netfilter: xtables: merge xt_MARK into xt_mark 2010-03-17 15:48:36 +01:00
xt_mark.h netfilter: xtables: merge xt_MARK into xt_mark 2010-03-17 15:48:36 +01:00
xt_multiport.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_NFLOG.h Merge commit 'v2.6.29' into core/header-fixes 2009-03-26 18:29:40 +01:00
xt_NFQUEUE.h netfilter: xt_NFQUEUE: queue balancing support 2009-06-05 13:24:24 +02:00
xt_osf.h netfilter: headers_check fix: linux/netfilter/xt_osf.h 2009-06-29 14:28:27 +02:00
xt_owner.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_physdev.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_pkttype.h
xt_policy.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_quota.h netfilter: xtables: avoid pointer to self 2009-03-16 15:35:29 +01:00
xt_RATEEST.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_rateest.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_realm.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_recent.h netfilter: xt_recent: check for unsupported user space flags 2010-03-17 16:18:56 +01:00
xt_sctp.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_SECMARK.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_socket.h netfilter: xt_socket: added new revision of the 'socket' match supporting flags 2009-06-09 15:16:34 +02:00
xt_state.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_statistic.h Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-03-26 16:11:41 -07:00
xt_string.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_TCPMSS.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_tcpmss.h make netfilter use strict integer types 2009-03-26 18:14:20 +01:00
xt_TCPOPTSTRIP.h
xt_tcpudp.h net: cleanup include/linux 2009-11-04 09:50:58 -08:00
xt_TEE.h netfilter: xt_TEE: resolve oif using netdevice notifiers 2010-04-20 15:07:32 +02:00
xt_time.h
xt_TPROXY.h netfilter: iptables TPROXY target 2008-10-08 11:35:12 +02:00
xt_u32.h