https://github.com/torvalds/linux
Raw File
Tip revision: f7160c7573615ec82c691e294cf80d920b5d588d authored by Linus Torvalds on 10 November 2008, 00:36:15 UTC
Linux 2.6.28-rc4
Tip revision: f7160c7
ip6t_hl.h
/* 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
back to top