Input: wm97xx: add new AC97 bus support
[sfrench/cifs-2.6.git] / include / uapi / linux / netfilter / xt_ipvs.h
1 #ifndef _XT_IPVS_H
2 #define _XT_IPVS_H
3
4 #include <linux/types.h>
5 #include <linux/netfilter.h>
6
7 enum {
8         XT_IPVS_IPVS_PROPERTY = 1 << 0, /* all other options imply this one */
9         XT_IPVS_PROTO =         1 << 1,
10         XT_IPVS_VADDR =         1 << 2,
11         XT_IPVS_VPORT =         1 << 3,
12         XT_IPVS_DIR =           1 << 4,
13         XT_IPVS_METHOD =        1 << 5,
14         XT_IPVS_VPORTCTL =      1 << 6,
15         XT_IPVS_MASK =          (1 << 7) - 1,
16         XT_IPVS_ONCE_MASK =     XT_IPVS_MASK & ~XT_IPVS_IPVS_PROPERTY
17 };
18
19 struct xt_ipvs_mtinfo {
20         union nf_inet_addr      vaddr, vmask;
21         __be16                  vport;
22         __u8                    l4proto;
23         __u8                    fwd_method;
24         __be16                  vportctl;
25
26         __u8                    invert;
27         __u8                    bitmask;
28 };
29
30 #endif /* _XT_IPVS_H */