Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* ip6tables module for matching the Hop Limit value |
2 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> | |
3 | * Based on HW's ttl module */ | |
4 | ||
5 | #ifndef _IP6T_HL_H | |
6 | #define _IP6T_HL_H | |
7 | ||
06988b06 JE |
8 | #include <linux/types.h> |
9 | ||
1da177e4 LT |
10 | enum { |
11 | IP6T_HL_EQ = 0, /* equals */ | |
12 | IP6T_HL_NE, /* not equals */ | |
13 | IP6T_HL_LT, /* less than */ | |
14 | IP6T_HL_GT, /* greater than */ | |
15 | }; | |
16 | ||
17 | ||
18 | struct ip6t_hl_info { | |
0260c1dc JE |
19 | __u8 mode; |
20 | __u8 hop_limit; | |
1da177e4 LT |
21 | }; |
22 | ||
23 | ||
24 | #endif |