// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.92 2005-09-19 00:29:12 bodea Exp $
+// $Id: l2tpns.h,v 1.96 2005-10-18 07:19:29 bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
#include <sys/types.h>
#include <libcli.h>
-#define VERSION "2.1.8"
+#define VERSION "2.1.10"
// Limits
#define MAXTUNNEL 500 // could be up to 65535
// interim RADIUS
time_t last_interim;
+
+ // last LCP Echo
+ time_t last_echo;
} sessionlocalt;
#define SESSIONPFC 1 // PFC negotiated flags
uint16_t ns; // next send
int state; // current state (tunnelstate enum)
clockt last; // when last control message sent (used for resend timeout)
- clockt retry; // when to try resenting pending control
+ clockt retry; // when to try resending pending control
clockt die; // being closed, when to finally free
clockt lastrec; // when the last control message was received
char hostname[128]; // tunnel hostname