Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2/* 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
26

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/uapi/linux/netfilter_ipv6/ip6t_hl.h