summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-14 15:56:31 +0400
committerKozlov Dmitry <dima@server>2010-09-14 16:05:10 +0400
commitd860a4beaf5f99d5045d03b931b4829426a2f7b0 (patch)
tree377f0cf851020786f5e40f70644a3dafbc63ce14 /accel-pptpd/ppp/ppp.h
parenta670641cc3c420bfd9026d3711501663aef88287 (diff)
downloadaccel-ppp-d860a4beaf5f99d5045d03b931b4829426a2f7b0.tar.gz
accel-ppp-d860a4beaf5f99d5045d03b931b4829426a2f7b0.zip
extra: implemented module 'pppd_compat' which starts pppd compatible scripts ip-up, ip-down,
and newly introduced - ip-change, when radius CoA request received, also this module manages pppd compatible radattr.pppX files core: implemented module 'sigchld' which handles SIGCHLD signal, waits child processes to terminate and manages pid terminate handlers
Diffstat (limited to 'accel-pptpd/ppp/ppp.h')
-rw-r--r--accel-pptpd/ppp/ppp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp.h b/accel-pptpd/ppp/ppp.h
index 76b379f4..641a74ba 100644
--- a/accel-pptpd/ppp/ppp.h
+++ b/accel-pptpd/ppp/ppp.h
@@ -3,6 +3,7 @@
#include <sys/types.h>
#include <time.h>
+#include <netinet/in.h>
#include "triton.h"
#include "list.h"
@@ -76,6 +77,8 @@ struct ppp_t
char sessionid[PPP_SESSIONID_LEN+1];
time_t start_time;
char *username;
+ in_addr_t ipaddr;
+ in_addr_t peer_ipaddr;
struct ppp_ctrl_t *ctrl;