mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 04:09:39 +00:00
![Harald Welte](/assets/img/avatar_default.png)
This target allows users to modify the hoplimit header field of the IPv6 header. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
327 B
C
22 lines
327 B
C
/* Hop Limit modification module for ip6tables
|
|
* Maciej Soltysiak <solt@dns.toxicfilms.tv>
|
|
* Based on HW's TTL module */
|
|
|
|
#ifndef _IP6T_HL_H
|
|
#define _IP6T_HL_H
|
|
|
|
enum {
|
|
IP6T_HL_SET = 0,
|
|
IP6T_HL_INC,
|
|
IP6T_HL_DEC
|
|
};
|
|
|
|
#define IP6T_HL_MAXMODE IP6T_HL_DEC
|
|
|
|
struct ip6t_HL_info {
|
|
u_int8_t mode;
|
|
u_int8_t hop_limit;
|
|
};
|
|
|
|
|
|
#endif
|