-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: rezaadi0105 <[email protected]>
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* TTL modification module for IP tables | ||
* (C) 2000 by Harald Welte <[email protected]> */ | ||
#ifndef _IPT_TTL_H | ||
#define _IPT_TTL_H | ||
#include <linux/types.h> | ||
enum { | ||
IPT_TTL_SET = 0, | ||
IPT_TTL_INC, | ||
IPT_TTL_DEC | ||
}; | ||
#define IPT_TTL_MAXMODE IPT_TTL_DEC | ||
struct ipt_TTL_info { | ||
__u8 mode; | ||
__u8 ttl; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* TTL modification module for IP tables | ||
* (C) 2000 by Harald Welte <[email protected]> */ | ||
#ifndef _IP6T_HL_H | ||
#define _IP6T_HL_H | ||
#include <linux/types.h> | ||
|
||
enum { | ||
IP6T_HL_SET = 0, | ||
IP6T_HL_INC, | ||
IP6T_HL_DEC | ||
}; | ||
|
||
#define IP6T_HL_MAXMODE IP6T_HL_DEC | ||
|
||
struct ip6t_HL_info { | ||
__u8 mode; | ||
__u8 hop_limit; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters