1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/types.h>
8 #define PPP_LCP_ECHOREQ 0x09
9 #define PPP_LCP_ECHOREP 0x0A
10 #define SC_RCV_BITS (SC_RCV_B7_1|SC_RCV_B7_0|SC_RCV_ODDP|SC_RCV_EVNP)
12 #define MISSING_WINDOW 20
13 #define WRAPPED(curseq, lastseq)\
14 ((((curseq) & 0xffffff00) == 0) &&\
15 (((lastseq) & 0xffffff00) == 0xffffff00))
17 #define PPTP_HEADER_OVERHEAD (2+sizeof(struct pptp_gre_header))
18 struct pptp_gre_header
{
19 struct gre_base_hdr gre_hd
;