Harald Welte | 0ac4f89 | 2005-08-27 22:37:30 -0700 | [diff] [blame^] | 1 | /* Hop Limit modification module for ip6tables |
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_SET = 0, | ||||
10 | IP6T_HL_INC, | ||||
11 | IP6T_HL_DEC | ||||
12 | }; | ||||
13 | |||||
14 | #define IP6T_HL_MAXMODE IP6T_HL_DEC | ||||
15 | |||||
16 | struct ip6t_HL_info { | ||||
17 | u_int8_t mode; | ||||
18 | u_int8_t hop_limit; | ||||
19 | }; | ||||
20 | |||||
21 | |||||
22 | #endif |