Michael S. Tsirkin | edf0e1f | 2010-07-15 17:20:46 +0200 | [diff] [blame] | 1 | /* Header file for iptables ipt_CHECKSUM target |
| 2 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> |
| 4 | * (C) 2010 Red Hat Inc |
| 5 | * Author: Michael S. Tsirkin <mst@redhat.com> |
| 6 | * |
| 7 | * This software is distributed under GNU GPL v2, 1991 |
| 8 | */ |
Michael S. Tsirkin | 22cb5166 | 2010-07-16 14:08:20 +0200 | [diff] [blame] | 9 | #ifndef _XT_CHECKSUM_TARGET_H |
| 10 | #define _XT_CHECKSUM_TARGET_H |
| 11 | |
| 12 | #include <linux/types.h> |
Michael S. Tsirkin | edf0e1f | 2010-07-15 17:20:46 +0200 | [diff] [blame] | 13 | |
| 14 | #define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */ |
| 15 | |
| 16 | struct xt_CHECKSUM_info { |
| 17 | __u8 operation; /* bitset of operations */ |
| 18 | }; |
| 19 | |
Michael S. Tsirkin | 22cb5166 | 2010-07-16 14:08:20 +0200 | [diff] [blame] | 20 | #endif /* _XT_CHECKSUM_TARGET_H */ |