summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv6/ip6t_hl.h
blob: 5ef91b8319a8afd7bb320d15d8d90f3e6e7353a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ip6tables module for matching the Hop Limit value
 * Maciej Soltysiak <solt@dns.toxicfilms.tv>
 * Based on HW's ttl module */

#ifndef _IP6T_HL_H
#define _IP6T_HL_H

enum {
	IP6T_HL_EQ = 0,		/* equals */
	IP6T_HL_NE,		/* not equals */
	IP6T_HL_LT,		/* less than */
	IP6T_HL_GT,		/* greater than */
};


struct ip6t_hl_info {
	u_int8_t	mode;
	u_int8_t	hop_limit;
};


#endif