diff options
author | Gao Feng <fgao@ikuai8.com> | 2016-08-25 23:08:11 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-07 10:36:48 +0200 |
commit | ecc6569f3503b39f45bc6b86197b5e0a8533fb72 (patch) | |
tree | f68eb9aa077ba7a78d0f2187becbf17105eff14f /include/uapi/linux/if_tunnel.h | |
parent | cf86799e816fe3a6e47eab3f0beb735d5944f01a (diff) | |
download | op-kernel-dev-ecc6569f3503b39f45bc6b86197b5e0a8533fb72.zip op-kernel-dev-ecc6569f3503b39f45bc6b86197b5e0a8533fb72.tar.gz |
netfilter: gre: Use consistent GRE_* macros instead of ones defined by netfilter.
There are already some GRE_* macros in kernel, so it is unnecessary
to define these macros. And remove some useless macros
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux/if_tunnel.h')
-rw-r--r-- | include/uapi/linux/if_tunnel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h index 9865c8c..fb7337d 100644 --- a/include/uapi/linux/if_tunnel.h +++ b/include/uapi/linux/if_tunnel.h @@ -39,6 +39,7 @@ #define GRE_IS_REC(f) ((f) & GRE_REC) #define GRE_IS_ACK(f) ((f) & GRE_ACK) +#define GRE_VERSION_0 __cpu_to_be16(0x0000) #define GRE_VERSION_1 __cpu_to_be16(0x0001) #define GRE_PROTO_PPP __cpu_to_be16(0x880b) #define GRE_PPTP_KEY_MASK __cpu_to_be32(0xffff) |