Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: e40152ee1e1c7a63f4777791863215e3faa37a86 authored by Linus Torvalds on 16 May 2010, 21:17:36 UTC
Linus 2.6.34
Tip revision: e40152e
ip6t_ipv6header.h
/* 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

struct ip6t_ipv6header_info {
	u_int8_t matchflags;
	u_int8_t invflags;
	u_int8_t 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 */
back to top