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
3939 #define GRE_IS_REC(f) ((f) & GRE_REC)
4040 #define GRE_IS_ACK(f) ((f) & GRE_ACK)
4141
42+#define GRE_VERSION_0 __cpu_to_be16(0x0000)
4243 #define GRE_VERSION_1 __cpu_to_be16(0x0001)
4344 #define GRE_PROTO_PPP __cpu_to_be16(0x880b)
4445 #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