nf_internals.h 720 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _NF_INTERNALS_H
  2. #define _NF_INTERNALS_H
  3. #include <linux/list.h>
  4. #include <linux/skbuff.h>
  5. #include <linux/netdevice.h>
  6. #ifdef CONFIG_NETFILTER_DEBUG
  7. #define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args)
  8. #else
  9. #define NFDEBUG(format, args...)
  10. #endif
  11. /* core.c */
  12. unsigned int nf_iterate(struct sk_buff *skb, struct nf_hook_state *state,
  13. struct nf_hook_entry **entryp);
  14. /* nf_queue.c */
  15. int nf_queue(struct sk_buff *skb, struct nf_hook_state *state,
  16. struct nf_hook_entry **entryp, unsigned int verdict);
  17. void nf_queue_nf_hook_drop(struct net *net, const struct nf_hook_entry *entry);
  18. int __init netfilter_queue_init(void);
  19. /* nf_log.c */
  20. int __init netfilter_log_init(void);
  21. #endif