summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-11 18:27:10 +0400
committerKozlov Dmitry <dima@server>2010-10-11 18:27:10 +0400
commit3313e8b52ab54c7e4a0dd8cd9cc6b3aa05b2019c (patch)
treec2922e843a64acacc206041e823a87b745d691b0
parentf765993dafc59b4e97bf72bf94f64041f8bbb708 (diff)
downloadaccel-ppp-3313e8b52ab54c7e4a0dd8cd9cc6b3aa05b2019c.tar.gz
accel-ppp-3313e8b52ab54c7e4a0dd8cd9cc6b3aa05b2019c.zip
started work on L2TPv2
-rw-r--r--accel-pptpd/ppp/ccp_mppe.c3
-rw-r--r--accel-pptpd/ppp/ipcp_opt_ipaddr.c1
-rw-r--r--accel-pptpd/ppp/lcp_opt_mru.c1
-rw-r--r--accel-pptpd/ppp/ppp.c1
-rw-r--r--accel-pptpd/ppp/ppp_ccp.c2
-rw-r--r--accel-pptpd/ppp/ppp_ipcp.c2
-rw-r--r--accel-pptpd/ppp/ppp_lcp.c2
7 files changed, 11 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ccp_mppe.c b/accel-pptpd/ppp/ccp_mppe.c
index 3ac3ad6a..695e62d5 100644
--- a/accel-pptpd/ppp/ccp_mppe.c
+++ b/accel-pptpd/ppp/ccp_mppe.c
@@ -1,9 +1,10 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <linux/if_ppp.h>
#include <net/if.h>
+#include <linux/if_ppp.h>
#include "ppp.h"
#include "ppp_ccp.h"
diff --git a/accel-pptpd/ppp/ipcp_opt_ipaddr.c b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
index efbc41ec..b2c1b8b3 100644
--- a/accel-pptpd/ppp/ipcp_opt_ipaddr.c
+++ b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
@@ -3,6 +3,7 @@
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <linux/if_ppp.h>
diff --git a/accel-pptpd/ppp/lcp_opt_mru.c b/accel-pptpd/ppp/lcp_opt_mru.c
index eab57b02..1af57e01 100644
--- a/accel-pptpd/ppp/lcp_opt_mru.c
+++ b/accel-pptpd/ppp/lcp_opt_mru.c
@@ -2,6 +2,7 @@
#include <string.h>
#include <errno.h>
#include <stdio.h>
+#include <sys/socket.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <linux/if_ppp.h>
diff --git a/accel-pptpd/ppp/ppp.c b/accel-pptpd/ppp/ppp.c
index 24795b12..4acf451d 100644
--- a/accel-pptpd/ppp/ppp.c
+++ b/accel-pptpd/ppp/ppp.c
@@ -9,6 +9,7 @@
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <linux/ppp_defs.h>
+#include <linux/if.h>
#include <linux/if_ppp.h>
#include <openssl/md5.h>
diff --git a/accel-pptpd/ppp/ppp_ccp.c b/accel-pptpd/ppp/ppp_ccp.c
index 5d779f59..4f30aa99 100644
--- a/accel-pptpd/ppp/ppp_ccp.c
+++ b/accel-pptpd/ppp/ppp_ccp.c
@@ -1,7 +1,9 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <sys/socket.h>
#include <linux/ppp_defs.h>
+#include <linux/if.h>
#include <linux/if_ppp.h>
#include <sys/ioctl.h>
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c
index fecbc687..15103e08 100644
--- a/accel-pptpd/ppp/ppp_ipcp.c
+++ b/accel-pptpd/ppp/ppp_ipcp.c
@@ -1,6 +1,8 @@
#include <stdlib.h>
#include <string.h>
+#include <sys/socket.h>
#include <linux/ppp_defs.h>
+#include <linux/if.h>
#include <linux/if_ppp.h>
#include <arpa/inet.h>
diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c
index 6c5c2fe6..2bbfd56a 100644
--- a/accel-pptpd/ppp/ppp_lcp.c
+++ b/accel-pptpd/ppp/ppp_lcp.c
@@ -1,6 +1,8 @@
#include <stdlib.h>
#include <string.h>
+#include <sys/socket.h>
#include <linux/ppp_defs.h>
+#include <linux/if.h>
#include <linux/if_ppp.h>
#include <arpa/inet.h>