From dbbe9f7de36aa3c7dd61dc89092c03f7902e474e Mon Sep 17 00:00:00 2001 From: Zhang Chunyu Date: Sun, 29 Mar 2015 22:35:47 -0400 Subject: arptables: Add revision field for arptables userspace Signed-off-by: Gao feng Signed-off-by: Zhang Chunyu Signed-off-by: Pablo Neira Ayuso --- include/arptables.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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); -- cgit v1.2.3