summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZhang Chunyu <zhangcy@cn.fujitsu.com>2015-03-29 22:35:47 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2015-04-16 13:04:12 +0200
commitdbbe9f7de36aa3c7dd61dc89092c03f7902e474e (patch)
tree35a473acfc8d24cfb9af26176fd387260b9db343 /include
parent935acea0326785834b22f2233e1b1e3f8d000f7d (diff)
arptables: Add revision field for arptables userspace
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Zhang Chunyu <zhangcy@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/arptables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/arptables.h b/include/arptables.h
index 820b664..82e6e9a 100644
--- a/include/arptables.h
+++ b/include/arptables.h
@@ -32,6 +32,9 @@ struct arptables_match
/* Size of match data relevent for userspace comparison purposes */
size_t userspacesize;
+ /* Revision of target (0 by default). */
+ u_int8_t revision;
+
/* Function which prints out usage message. */
void (*help)(void);
@@ -81,6 +84,9 @@ struct arptables_target
/* Size of target data relevent for userspace comparison purposes */
size_t userspacesize;
+ /* Revision of target (0 by default). */
+ u_int8_t revision;
+
/* Function which prints out usage message. */
void (*help)(void);