net: cleanup include/linux
[deliverable/linux.git] / include / linux / netfilter_bridge / ebt_ip6.h
1 /*
2 * ebt_ip6
3 *
4 * Authors:
5 * Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
6 * Manohar Castelino <manohar.r.castelino@intel.com>
7 *
8 * Jan 11, 2008
9 *
10 */
11
12 #ifndef __LINUX_BRIDGE_EBT_IP6_H
13 #define __LINUX_BRIDGE_EBT_IP6_H
14
15 #define EBT_IP6_SOURCE 0x01
16 #define EBT_IP6_DEST 0x02
17 #define EBT_IP6_TCLASS 0x04
18 #define EBT_IP6_PROTO 0x08
19 #define EBT_IP6_SPORT 0x10
20 #define EBT_IP6_DPORT 0x20
21 #define EBT_IP6_MASK (EBT_IP6_SOURCE | EBT_IP6_DEST | EBT_IP6_TCLASS |\
22 EBT_IP6_PROTO | EBT_IP6_SPORT | EBT_IP6_DPORT)
23 #define EBT_IP6_MATCH "ip6"
24
25 /* the same values are used for the invflags */
26 struct ebt_ip6_info {
27 struct in6_addr saddr;
28 struct in6_addr daddr;
29 struct in6_addr smsk;
30 struct in6_addr dmsk;
31 uint8_t tclass;
32 uint8_t protocol;
33 uint8_t bitmask;
34 uint8_t invflags;
35 uint16_t sport[2];
36 uint16_t dport[2];
37 };
38
39 #endif
This page took 0.052245 seconds and 5 git commands to generate.