diff options
Diffstat (limited to 'include/libct_proto.h')
-rw-r--r-- | include/libct_proto.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/libct_proto.h b/include/libct_proto.h index 410a812..416d916 100644 --- a/include/libct_proto.h +++ b/include/libct_proto.h @@ -10,10 +10,15 @@ struct ctproto_handler { char *name; u_int16_t protonum; - int (*parse)(char c, char *argv[], struct ip_conntrack_tuple *orig, - struct ip_conntrack_tuple *reply); + int (*parse)(char c, char *argv[], + struct ip_conntrack_tuple *orig, + struct ip_conntrack_tuple *reply, + union ip_conntrack_proto *proto, + unsigned int *flags); void (*print)(struct ip_conntrack_tuple *t); + int (*final_check)(unsigned int flags); + struct option *opts; unsigned int option_offset; |