diff options
author | rusty <rusty> | 2000-05-15 02:17:52 +0000 |
---|---|---|
committer | rusty <rusty> | 2000-05-15 02:17:52 +0000 |
commit | b4e3645f81cea70c28bb5f91bcd2fffc002cba71 (patch) | |
tree | b9b903689b4459516d298c943cc88f84df573f22 /include/ip6tables.h | |
parent | 72d16369f738fe1235f4486b901c42070f23440e (diff) |
Philip Blundell's IPv6 fixes.
Diffstat (limited to 'include/ip6tables.h')
-rw-r--r-- | include/ip6tables.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h index 7acf800..9860e62 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -16,6 +16,9 @@ struct ip6tables_match /* Size of match data. */ size_t size; + /* Size of match data relevent for userspace comparison purposes */ + size_t userspacesize; + /* Function which prints out usage message. */ void (*help)(void); @@ -60,6 +63,9 @@ struct ip6tables_target /* Size of target data. */ size_t size; + /* Size of target data relevent for userspace comparison purposes */ + size_t userspacesize; + /* Function which prints out usage message. */ void (*help)(void); @@ -102,6 +108,12 @@ extern int do_command6(int argc, char *argv[], char **table, extern struct ip6tables_match *ip6tables_matches; extern struct ip6tables_target *ip6tables_targets; -extern struct ip6tables_target *find_target6(const char *name, int tryload); -extern struct ip6tables_match *find_match6(const char *name, int tryload); +enum ip6t_tryload { + DONT_LOAD, + TRY_LOAD, + LOAD_MUST_SUCCEED +}; + +extern struct ip6tables_target *find_target6(const char *name, enum ip6t_tryload); +extern struct ip6tables_match *find_match6(const char *name, enum ip6t_tryload); #endif /*_IP6TABLES_USER_H*/ |