commit | 03459345bc00da70a35fa39bcfcf13d779097074 | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Sat Aug 13 00:30:48 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 15 10:55:53 2016 -0700 |
tree | c9db9f4cd4b85de2e4df5008d2decfd96c568ca4 | |
parent | cfad65c7fa9e77c27025eb5c2098cfbd4d445eab [diff] |
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>