Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/RMerl/asuswrt-merlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Bacho <john.9527@hotmail.com>2016-11-22 07:03:29 +0300
committerEric Sauvageau <rmerl@lostrealm.ca>2016-11-22 07:03:29 +0300
commit6b6e3a108705bd0f748de426c0630012dda2b51a (patch)
tree23cba5df5da2df0ea8a2282cc621e3b9fc456114 /tools
parentbd44afd7cd4e04d2cf57420af9f99f532f7db061 (diff)
iptables: support --set-mark mark[/mask] on MIPS routers
Diffstat (limited to 'tools')
-rw-r--r--tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/include/linux/netfilter/xt_MARK.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/include/linux/netfilter/xt_MARK.h b/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/include/linux/netfilter/xt_MARK.h
index b021e93ee5..c272481c61 100644
--- a/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/include/linux/netfilter/xt_MARK.h
+++ b/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/include/linux/netfilter/xt_MARK.h
@@ -3,9 +3,14 @@
/* Version 0 */
struct xt_mark_target_info {
- unsigned long mark;
+#ifdef KERNEL_64_USERSPACE_32
+ unsigned long long mark, mask;
+#else
+ unsigned long mark, mask;
+#endif
};
+
/* Version 1 */
enum {
XT_MARK_SET=0,
@@ -14,7 +19,11 @@ enum {
};
struct xt_mark_target_info_v1 {
- unsigned long mark;
+#ifdef KERNEL_64_USERSPACE_32
+ unsigned long long mark, mask;
+#else
+ unsigned long mark, mask;
+#endif
u_int8_t mode;
};