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>
This commit is contained in:
parent
cf86799e81
commit
ecc6569f35
4 changed files with 7 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue