diff options
| author | Gao Feng <[email protected]> | 2016-08-12 16:30:48 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-15 17:55:53 +0000 |
| commit | 03459345bc00da70a35fa39bcfcf13d779097074 (patch) | |
| tree | c9db9f4cd4b85de2e4df5008d2decfd96c568ca4 /net/switchdev/switchdev.c | |
| parent | net: dsa: b53: remove .owner and .bus fields for driver (diff) | |
| download | kernel-03459345bc00da70a35fa39bcfcf13d779097074.tar.gz kernel-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 <[email protected]>
Reviewed-by: Philip Prindeville <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
