2005-04-16 16:20:36 -06:00
|
|
|
/* IPv6-specific defines for netfilter.
|
|
|
|
* (C)1998 Rusty Russell -- This code is GPL.
|
|
|
|
* (C)1999 David Jeffery
|
|
|
|
* this header was blatantly ripped from netfilter_ipv4.h
|
|
|
|
* it's amazing what adding a bunch of 6s can do =8^)
|
|
|
|
*/
|
2012-10-13 03:46:48 -06:00
|
|
|
#ifndef __LINUX_IP6_NETFILTER_H
|
|
|
|
#define __LINUX_IP6_NETFILTER_H
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2012-10-13 03:46:48 -06:00
|
|
|
#include <uapi/linux/netfilter_ipv6.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2008-07-08 03:36:40 -06:00
|
|
|
|
2006-01-09 17:43:13 -07:00
|
|
|
#ifdef CONFIG_NETFILTER
|
2006-09-20 12:59:42 -06:00
|
|
|
extern int ip6_route_me_harder(struct sk_buff *skb);
|
2006-11-14 22:40:42 -07:00
|
|
|
extern __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
|
2006-04-06 15:18:43 -06:00
|
|
|
unsigned int dataoff, u_int8_t protocol);
|
|
|
|
|
2005-08-15 23:18:02 -06:00
|
|
|
extern int ipv6_netfilter_init(void);
|
|
|
|
extern void ipv6_netfilter_fini(void);
|
2006-01-09 17:43:13 -07:00
|
|
|
#else /* CONFIG_NETFILTER */
|
|
|
|
static inline int ipv6_netfilter_init(void) { return 0; }
|
|
|
|
static inline void ipv6_netfilter_fini(void) { return; }
|
|
|
|
#endif /* CONFIG_NETFILTER */
|
2005-08-09 20:42:34 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif /*__LINUX_IP6_NETFILTER_H*/
|