spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / include / linux / netfilter / xt_ipvs.h
blobeff34ac1880883f70d88282a8ac881a1e8bff8a5
1 #ifndef _XT_IPVS_H
2 #define _XT_IPVS_H
4 #include <linux/types.h>
6 enum {
7 XT_IPVS_IPVS_PROPERTY = 1 << 0, /* all other options imply this one */
8 XT_IPVS_PROTO = 1 << 1,
9 XT_IPVS_VADDR = 1 << 2,
10 XT_IPVS_VPORT = 1 << 3,
11 XT_IPVS_DIR = 1 << 4,
12 XT_IPVS_METHOD = 1 << 5,
13 XT_IPVS_VPORTCTL = 1 << 6,
14 XT_IPVS_MASK = (1 << 7) - 1,
15 XT_IPVS_ONCE_MASK = XT_IPVS_MASK & ~XT_IPVS_IPVS_PROPERTY
18 struct xt_ipvs_mtinfo {
19 union nf_inet_addr vaddr, vmask;
20 __be16 vport;
21 __u8 l4proto;
22 __u8 fwd_method;
23 __be16 vportctl;
25 __u8 invert;
26 __u8 bitmask;
29 #endif /* _XT_IPVS_H */