diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-18 21:16:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-18 21:16:05 +0200 |
commit | db91cafe5b72f9f591dd8c168427005503186c01 (patch) | |
tree | fa4ab2a1e6a4fcf34249fefb1792412c9ccc8f0f /include | |
parent | be2450f37f2ce56eadc78793efc4a54ced4315c6 (diff) | |
download | conntrack-tools-db91cafe5b72f9f591dd8c168427005503186c01.tar.gz conntrack-tools-db91cafe5b72f9f591dd8c168427005503186c01.zip |
improve network message sanity checkings
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 3 | ||||
-rw-r--r-- | include/sync.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/network.h b/include/network.h index 0fa7b71..baa1eba 100644 --- a/include/network.h +++ b/include/network.h @@ -54,7 +54,6 @@ struct mcast_sock; void build_netmsg(struct nf_conntrack *ct, int query, struct nethdr *net); size_t prepare_send_netmsg(struct mcast_sock *m, void *data); int mcast_send_netmsg(struct mcast_sock *m, void *data); -int handle_netmsg(struct nethdr *net); enum { SEQ_UNKNOWN, @@ -175,6 +174,6 @@ struct netattr { void build_netpld(struct nf_conntrack *ct, struct netpld *pld, int query); -void parse_netpld(struct nf_conntrack *ct, struct netpld *pld, int *query); +int parse_netpld(struct nf_conntrack *ct, struct nethdr *net, int *query, size_t remain); #endif diff --git a/include/sync.h b/include/sync.h index 39e0f46..fc06c93 100644 --- a/include/sync.h +++ b/include/sync.h @@ -20,5 +20,6 @@ struct sync_mode { extern struct sync_mode sync_alarm; extern struct sync_mode sync_ftfw; +extern struct sync_mode sync_notrack; #endif |