2005-04-16 16:20:36 -06:00
|
|
|
/* 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
|
|
|
|
|
2011-01-20 09:50:17 -07:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2009-11-04 10:50:58 -07:00
|
|
|
struct ip6t_ipv6header_info {
|
2011-01-17 23:33:09 -07:00
|
|
|
__u8 matchflags;
|
|
|
|
__u8 invflags;
|
|
|
|
__u8 modeflag;
|
2005-04-16 16:20:36 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#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 */
|