X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/b43583c01d146d8cc3cb826937efe3d0f47ec819..8512f6d9249a7190045a14066f952162ae67b0d3:/l2tpns.h?ds=sidebyside diff --git a/l2tpns.h b/l2tpns.h index f591178..8272525 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,11 +1,11 @@ // 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 #include #include "config.h" -#define VERSION "1.1.0" +#define VERSION "1.1.2" // Limits #define MAXTUNNEL 500 // could be up to 65535 @@ -32,9 +32,9 @@ #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 @@ -132,7 +132,7 @@ typedef struct sessions 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];