PageRenderTime 24ms CodeModel.GetById 22ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 1ms

/include/linux/netfilter_ipv6/ip6t_HL.h.keep.4

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
Forth | 22 lines | 16 code | 6 blank | 0 comment | 1 complexity | 0468f2524bb1c63e6375786cbe2ff8d1 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 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
 8enum {
 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
16struct ip6t_hl_info {
17	u_int8_t	mode;
18	u_int8_t	hop_limit;
19};
20
21
22#endif