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