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 | ||
8 | enum { | |
9 | IP6T_HL_EQ = 0, /* equals */ | |
10 | IP6T_HL_NE, /* not equals */ | |
11 | IP6T_HL_LT, /* less than */ | |
12 | IP6T_HL_GT, /* greater than */ | |
13 | }; | |
14 | ||
15 | ||
16 | struct ip6t_hl_info { | |
17 | u_int8_t mode; | |
18 | u_int8_t hop_limit; | |
19 | }; | |
20 | ||
21 | ||
22 | #endif |