diff options
author | David Howells <dhowells@redhat.com> | 2012-10-09 09:49:01 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-09 09:49:01 +0100 |
commit | ff1e1756c974fc1cb68b6e74cd123ad59cf07a2d (patch) | |
tree | ff8d33e76c8e2e9dbbd8cf578f71ca7b50f7fc2e /include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h | |
parent | 17c075923da59c217155d0758ee0715641ebc152 (diff) | |
download | op-kernel-dev-ff1e1756c974fc1cb68b6e74cd123ad59cf07a2d.zip op-kernel-dev-ff1e1756c974fc1cb68b6e74cd123ad59cf07a2d.tar.gz |
UAPI: (Scripted) Disintegrate include/linux/netfilter_ipv6
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h')
-rw-r--r-- | include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h b/include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h new file mode 100644 index 0000000..efae3a2 --- /dev/null +++ b/include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h @@ -0,0 +1,28 @@ +/* ipv6header match - matches IPv6 packets based +on whether they contain certain headers */ + +/* Original idea: Brad Chapman + * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */ + + +#ifndef __IPV6HEADER_H +#define __IPV6HEADER_H + +#include <linux/types.h> + +struct ip6t_ipv6header_info { + __u8 matchflags; + __u8 invflags; + __u8 modeflag; +}; + +#define MASK_HOPOPTS 128 +#define MASK_DSTOPTS 64 +#define MASK_ROUTING 32 +#define MASK_FRAGMENT 16 +#define MASK_AH 8 +#define MASK_ESP 4 +#define MASK_NONE 2 +#define MASK_PROTO 1 + +#endif /* __IPV6HEADER_H */ |