tbf.o: tbf.c l2tpns.h util.h tbf.h
util.o: util.c l2tpns.h bgp.h
garden.so: garden.c l2tpns.h plugin.h control.h
-autothrottle.so: autothrottle.c l2tpns.h plugin.h control.h
-autosnoop.so: autosnoop.c l2tpns.h plugin.h control.h
+autothrottle.so: autothrottle.c l2tpns.h plugin.h
+autosnoop.so: autosnoop.c l2tpns.h plugin.h
stripdomain.so: stripdomain.c l2tpns.h plugin.h
setrxspeed.so: setrxspeed.c l2tpns.h plugin.h
#include <string.h>
-#include <malloc.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <sys/types.h>
#include "l2tpns.h"
#include "plugin.h"
-#include "control.h"
+
+/* set up intercept based on RADIUS reply */
+
+char const *cvs_id = "$Id: autosnoop.c,v 1.4 2004/11/05 02:39:35 bodea Exp $";
int __plugin_api_version = 1;
struct pluginfuncs *p;
{
return ((p = funcs)) ? 1 : 0;
}
-
-void plugin_done()
-{
-}
-
#include <string.h>
-#include <malloc.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <sys/types.h>
#include "l2tpns.h"
#include "plugin.h"
-#include "control.h"
+
+/* set up throttling based on RADIUS reply */
+
+char const *cvs_id = "$Id: autothrottle.c,v 1.6 2004/11/05 02:39:35 bodea Exp $";
int __plugin_api_version = 1;
struct pluginfuncs *p;
{
return ((p = funcs)) ? 1 : 0;
}
-
-void plugin_done()
-{
-}
-
#include "plugin.h"
#include "control.h"
-char const *cvs_id = "$Id: garden.c,v 1.9 2004/11/03 13:23:58 bodea Exp $";
+/* walled garden */
+
+char const *cvs_id = "$Id: garden.c,v 1.10 2004/11/05 02:39:35 bodea Exp $";
int __plugin_api_version = 1;
static struct pluginfuncs *p = 0;
#include "l2tpns.h"
#include "plugin.h"
-char const *cvs_id = "$Id: stripdomain.c,v 1.2 2004/11/03 13:29:31 bodea Exp $";
+/* strip domain part of username before sending RADIUS requests */
+
+char const *cvs_id = "$Id: stripdomain.c,v 1.3 2004/11/05 02:39:35 bodea Exp $";
int __plugin_api_version = 1;
static struct pluginfuncs *p = 0;