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/* Hop Limit modification module for ip6tables
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_SET = 0,
13 IP6T_HL_INC,
14 IP6T_HL_DEC
15};
16
17#define IP6T_HL_MAXMODE IP6T_HL_DEC
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