History

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

Gao Feng committed 10 years ago

Commit ecc65691 parent cf867994 files · +7 −24Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
39#define GRE_IS_REC(f) ((f) & GRE_REC)39#define GRE_IS_REC(f) ((f) & GRE_REC)
40#define GRE_IS_ACK(f) ((f) & GRE_ACK)40#define GRE_IS_ACK(f) ((f) & GRE_ACK)
41 41
42#define GRE_VERSION_0 __cpu_to_be16(0x0000)
42#define GRE_VERSION_1 __cpu_to_be16(0x0001)43#define GRE_VERSION_1 __cpu_to_be16(0x0001)
43#define GRE_PROTO_PPP __cpu_to_be16(0x880b)44#define GRE_PROTO_PPP __cpu_to_be16(0x880b)
44#define GRE_PPTP_KEY_MASK __cpu_to_be32(0xffff)45#define GRE_PPTP_KEY_MASK __cpu_to_be32(0xffff)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t