forked from RMerl/asuswrt-merlin
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And adjust iptables (1.3.8) to match. This gives user-space compatibility between kernel 2.6.22 and 2.6.38.
- Loading branch information
Showing
5 changed files
with
27 additions
and
12 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
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
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
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
10 changes: 7 additions & 3 deletions
10
release/src/router/iptables/include/linux/netfilter_ipv6/ip6t_REJECT.h
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
#ifndef _IP6T_REJECT_H | ||
#define _IP6T_REJECT_H | ||
|
||
#include <linux/types.h> | ||
|
||
enum ip6t_reject_with { | ||
IP6T_ICMP6_NO_ROUTE, | ||
IP6T_ICMP6_ADM_PROHIBITED, | ||
IP6T_ICMP6_NOT_NEIGHBOUR, | ||
IP6T_ICMP6_ADDR_UNREACH, | ||
IP6T_ICMP6_PORT_UNREACH, | ||
IP6T_ICMP6_SRC_ADDR_FAIL_POLICY, | ||
IP6T_TCP_RESET | ||
IP6T_ICMP6_ECHOREPLY, | ||
IP6T_TCP_RESET, | ||
IP6T_ICMP6_POLICY_FAIL, | ||
IP6T_ICMP6_REJECT_ROUTE | ||
}; | ||
|
||
struct ip6t_reject_info { | ||
enum ip6t_reject_with with; /* reject type */ | ||
__u32 with; /* reject type */ | ||
}; | ||
|
||
#endif /*_IP6T_REJECT_H*/ |