From d860a4beaf5f99d5045d03b931b4829426a2f7b0 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 14 Sep 2010 15:56:31 +0400 Subject: 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 --- accel-pptpd/include/events.h | 12 ++++++++++++ accel-pptpd/include/radius.h | 1 + accel-pptpd/include/sigchld.h | 1 + accel-pptpd/include/utils.h | 1 + 4 files changed, 15 insertions(+) create mode 120000 accel-pptpd/include/radius.h create mode 120000 accel-pptpd/include/sigchld.h create mode 120000 accel-pptpd/include/utils.h (limited to 'accel-pptpd/include') diff --git a/accel-pptpd/include/events.h b/accel-pptpd/include/events.h index 332b4e31..0b37d0fd 100644 --- a/accel-pptpd/include/events.h +++ b/accel-pptpd/include/events.h @@ -11,6 +11,18 @@ #define EV_CTRL_FINISHED 8 #define EV_IP_CHANGED 100 #define EV_SHAPE_CHANGED 101 +#define EV_RADIUS_ACCESS_ACCEPT 200 +#define EV_RADIUS_COA 201 + +struct ppp_t; +struct rad_packet_t; +struct ev_radius_t +{ + struct ppp_t *ppp; + struct rad_packet_t *request; + struct rad_packet_t *reply; + int res; +}; #endif diff --git a/accel-pptpd/include/radius.h b/accel-pptpd/include/radius.h new file mode 120000 index 00000000..e1465f19 --- /dev/null +++ b/accel-pptpd/include/radius.h @@ -0,0 +1 @@ +../radius/radius.h \ No newline at end of file diff --git a/accel-pptpd/include/sigchld.h b/accel-pptpd/include/sigchld.h new file mode 120000 index 00000000..166c77e6 --- /dev/null +++ b/accel-pptpd/include/sigchld.h @@ -0,0 +1 @@ +../sigchld.h \ No newline at end of file diff --git a/accel-pptpd/include/utils.h b/accel-pptpd/include/utils.h new file mode 120000 index 00000000..6cd5d4fd --- /dev/null +++ b/accel-pptpd/include/utils.h @@ -0,0 +1 @@ +../utils.h \ No newline at end of file -- cgit v1.2.3