blob: 6b62f9418eb213597665dc82e700005b5284fa8b [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Ben Cheng30692c62013-10-15 18:26:18 -07002/* ip6tables module for matching the Hop Limit value
3 * Maciej Soltysiak <solt@dns.toxicfilms.tv>
4 * Based on HW's ttl module */
5
6#ifndef _IP6T_HL_H
7#define _IP6T_HL_H
8
9#include <linux/types.h>
10
11enum {
12 IP6T_HL_EQ = 0, /* equals */
13 IP6T_HL_NE, /* not equals */
14 IP6T_HL_LT, /* less than */
15 IP6T_HL_GT, /* greater than */
16};
17
18
19struct ip6t_hl_info {
20 __u8 mode;
21 __u8 hop_limit;
22};
23
24
25#endif