diff options
author | 2016-08-13 00:30:48 +0800 | |
---|---|---|
committer | 2016-08-15 10:55:53 -0700 | |
commit | 03459345bc00da70a35fa39bcfcf13d779097074 (patch) | |
tree | c9db9f4cd4b85de2e4df5008d2decfd96c568ca4 /net/switchdev/switchdev.c | |
parent | net: dsa: b53: remove .owner and .bus fields for driver (diff) | |
download | wireguard-linux-03459345bc00da70a35fa39bcfcf13d779097074.tar.xz wireguard-linux-03459345bc00da70a35fa39bcfcf13d779097074.zip |
pptp: Refactor the struct and macros of PPTP codes
1. Use struct gre_base_hdr directly in pptp_gre_header instead of
duplicated members;
2. Use existing macros like GRE_KEY, GRE_SEQ, and so on instead of
duplicated macros defined by PPTP;
3. Add new macros like GRE_IS_ACK/SEQ and so on instead of
PPTP_GRE_IS_A/S and so on;
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions