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