There are already some GRE_* macros in kernel, so it is unnecessary to define these macros. And remove some useless macros
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #define GRE_IS_REC(f) ((f) & GRE_REC) |
| 40 | 40 | #define GRE_IS_ACK(f) ((f) & GRE_ACK) |
| 41 | 41 | |
| 42 | +#define GRE_VERSION_0 __cpu_to_be16(0x0000) | |
| 42 | 43 | #define GRE_VERSION_1 __cpu_to_be16(0x0001) |
| 43 | 44 | #define GRE_PROTO_PPP __cpu_to_be16(0x880b) |
| 44 | 45 | #define GRE_PPTP_KEY_MASK __cpu_to_be32(0xffff) |