Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
423 | giacomo | 1 | /* IP tables module for matching the value of the TTL |
2 | * (C) 2000 by Harald Welte <laforge@gnumonks.org> */ |
||
3 | |||
4 | #ifndef _IPT_TTL_H |
||
5 | #define _IPT_TTL_H |
||
6 | |||
7 | enum { |
||
8 | IPT_TTL_EQ = 0, /* equals */ |
||
9 | IPT_TTL_NE, /* not equals */ |
||
10 | IPT_TTL_LT, /* less than */ |
||
11 | IPT_TTL_GT, /* greater than */ |
||
12 | }; |
||
13 | |||
14 | |||
15 | struct ipt_ttl_info { |
||
16 | u_int8_t mode; |
||
17 | u_int8_t ttl; |
||
18 | }; |
||
19 | |||
20 | |||
21 | #endif |