summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-05 01:23:57 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:09 -0800
commite3ac5298159c5286cef86f0865d4fa6a606bd391 (patch)
treee2d398667438d5e9e4cb688af03a37c6198e2e72 /include/linux
parentfb46990dba94866462e90623e183d02ec591cf8f (diff)
[NETFILTER]: nf_queue: make queue_handler const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index 9bfc7d4f586..c2c3fafa5fd 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -281,11 +281,11 @@ struct nf_queue_handler {
void *data;
char *name;
};
-extern int nf_register_queue_handler(int pf,
- struct nf_queue_handler *qh);
+extern int nf_register_queue_handler(int pf,
+ const struct nf_queue_handler *qh);
extern int nf_unregister_queue_handler(int pf,
- struct nf_queue_handler *qh);
-extern void nf_unregister_queue_handlers(struct nf_queue_handler *qh);
+ const struct nf_queue_handler *qh);
+extern void nf_unregister_queue_handlers(const struct nf_queue_handler *qh);
extern void nf_reinject(struct sk_buff *skb,
struct nf_info *info,
unsigned int verdict);