mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
ff1e1756c9
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
24 lines
395 B
C
24 lines
395 B
C
/* 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
|
|
|
|
#include <linux/types.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 {
|
|
__u8 mode;
|
|
__u8 hop_limit;
|
|
};
|
|
|
|
|
|
#endif
|