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