// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.2 2004-03-05 00:09:03 fred_nerk Exp $
+// $Id: l2tpns.h,v 1.4 2004-04-16 02:33:32 fred_nerk Exp $
#include <netinet/in.h>
#include <stdio.h>
#include "config.h"
-#define VERSION "1.1.0"
+#define VERSION "1.1.2"
// Limits
#define MAXTUNNEL 500 // could be up to 65535
#define HOMEDIR "/home/l2tpns/" // Base dir for data
#define STATEFILE "/tmp/l2tpns.dump" // State dump file
#define NOSTATEFILE "/tmp/l2tpns.no_state_reload" // If exists, state will not be reloaded
-#define CONFIGFILE ETCDIR "l2tpns.cfg" // Configuration file
-#define CLIUSERS ETCDIR "l2tpns.users" // CLI Users file
-#define IPPOOLFILE ETCDIR "l2tpns.ip_pool" // Address pool configuration
+#define CONFIGFILE ETCDIR "/l2tpns.cfg" // Configuration file
+#define CLIUSERS ETCDIR "/l2tpns.users" // CLI Users file
+#define IPPOOLFILE ETCDIR "/l2tpns.ip_pool" // Address pool configuration
#ifndef LIBDIR
#define LIBDIR "/usr/lib/l2tpns"
#endif
u8 flags; // various bit flags
u8 snoop; // are we snooping this session?
u8 throttle; // is this session throttled?
- u8 servicenet; // is this session servicenetted?
+ u8 walled_garden; // is this session gardened?
u16 mru; // maximum receive unit
u16 tbf; // filter bucket for throttling
char random_vector[MAXTEL];