Blame view

include/linux/netfilter_ipv4/ipt_TTL.h 312 Bytes
5f2c3b910   Harald Welte   [NETFILTER]: Add ...
1
2
3
4
5
  /* TTL modification module for IP tables
   * (C) 2000 by Harald Welte <laforge@netfilter.org> */
  
  #ifndef _IPT_TTL_H
  #define _IPT_TTL_H
06988b069   Jan Engelhardt   netfilter: xtable...
6
  #include <linux/types.h>
5f2c3b910   Harald Welte   [NETFILTER]: Add ...
7
8
9
10
11
12
13
14
15
  enum {
  	IPT_TTL_SET = 0,
  	IPT_TTL_INC,
  	IPT_TTL_DEC
  };
  
  #define IPT_TTL_MAXMODE	IPT_TTL_DEC
  
  struct ipt_TTL_info {
0260c1dcc   Jan Engelhardt   netfilter: xtable...
16
17
  	__u8	mode;
  	__u8	ttl;
5f2c3b910   Harald Welte   [NETFILTER]: Add ...
18
19
20
21
  };
  
  
  #endif