summaryrefslogtreecommitdiff
path: root/include/net/pptp.h
blob: 92e9f1fe262844ad6f226c11333211df02954388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _NET_PPTP_H
#define _NET_PPTP_H

#define PPP_LCP_ECHOREQ 0x09
#define PPP_LCP_ECHOREP 0x0A
#define SC_RCV_BITS     (SC_RCV_B7_1|SC_RCV_B7_0|SC_RCV_ODDP|SC_RCV_EVNP)

#define MISSING_WINDOW 20
#define WRAPPED(curseq, lastseq)\
	((((curseq) & 0xffffff00) == 0) &&\
	(((lastseq) & 0xffffff00) == 0xffffff00))

#define PPTP_HEADER_OVERHEAD (2+sizeof(struct pptp_gre_header))
struct pptp_gre_header {
	struct gre_base_hdr gre_hd;
	__be16 payload_len;
	__be16 call_id;
	__be32 seq;
	__be32 ack;
} __packed;


#endif
&id=6d5496483f5eb7b4da2e83c7b2149a21ad412d96'>switchdev: bridge: Offload mc router portsNogah Frankel1-0/+2 2017-02-10switchdev: bridge: Offload multicast disabledNogah Frankel1-0/+2 2017-02-10sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_apiJiri Pirko2-2/+2 2017-02-10sched: rename tcf_destroy to tcf_destroy_protoJiri Pirko1-1/+1 2017-02-10ipv4: fib: Add events for FIB replace and appendIdo Schimmel1-1/+2 2017-02-09sctp: implement sender-side procedures for Add Incoming/Outgoing Streams Requ...Xin Long1-0/+2 2017-02-09sctp: add support for generating stream reconf add incoming/outgoing streams ...Xin Long1-0/+3 2017-02-09sctp: implement sender-side procedures for SSN/TSN Reset Request ParameterXin Long1-0/+1 2017-02-09sctp: add support for generating stream reconf ssn/tsn reset request chunkXin Long1-0/+2 2017-02-09cfg80211: fix NAN bands definitionLuca Coelho1-5/+13 2017-02-08ipv4: fib: Notify about nexthop status changesIdo Schimmel1-0/+7 2017-02-08gro_cells: move to net/core/gro_cells.cEric Dumazet1-82/+4 2017-02-08cfg80211: Pass new RSSI level in CQM RSSI notificationAndrzej Zaborowski1-1/+2 2017-02-08mac80211: Pass new RSSI level in CQM RSSI notificationAndrzej Zaborowski1-0/+2 2017-02-08nl80211: add HT/VHT capabilities to AP parametersJohannes Berg1-0/+8 2017-02-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller