1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* TTL modification module for IP tables 3 * (C) 2000 by Harald Welte <laforge@netfilter.org> */ 4 5 #ifndef _IPT_TTL_H 6 #define _IPT_TTL_H 7 8 #include <linux/types.h> 9 10 enum { 11 IPT_TTL_SET = 0, 12 IPT_TTL_INC, 13 IPT_TTL_DEC 14 }; 15 16 #define IPT_TTL_MAXMODE IPT_TTL_DEC 17 18 struct ipt_TTL_info { 19 __u8 mode; 20 __u8 ttl; 21 }; 22 23 24 #endif 25