projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix code-reject/protocol-reject
[l2tpns.git]
/
l2tpns.h
diff --git
a/l2tpns.h
b/l2tpns.h
index
9fb1ba3
..
2f63803
100644
(file)
--- a/
l2tpns.h
+++ b/
l2tpns.h
@@
-1,5
+1,5
@@
// L2TPNS Global Stuff
// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.8
7 2005/09/02 23:59:56
bodea Exp $
+// $Id: l2tpns.h,v 1.8
9 2005/09/13 14:23:07
bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
@@
-15,7
+15,7
@@
#include <sys/types.h>
#include <libcli.h>
#include <sys/types.h>
#include <libcli.h>
-#define VERSION "2.1.
5
"
+#define VERSION "2.1.
6
"
// Limits
#define MAXTUNNEL 500 // could be up to 65535
// Limits
#define MAXTUNNEL 500 // could be up to 65535
@@
-31,7
+31,8
@@
#define T_FREE (0) // A tunnel ID that won't ever be used. Mark session as free.
#define MAXCONTROL 1000 // max length control message we ever send...
#define T_FREE (0) // A tunnel ID that won't ever be used. Mark session as free.
#define MAXCONTROL 1000 // max length control message we ever send...
-#define MAXETHER (1500+18) // max packet we try sending to tun
+#define MAXMRU 1500 // max MRU as defined by RFC1661
+#define MAXETHER (MAXMRU+18) // max packet we try sending to tun
#define MAXTEL 96 // telephone number
#define MAXUSER 128 // username
#define MAXPASS 128 // password
#define MAXTEL 96 // telephone number
#define MAXUSER 128 // username
#define MAXPASS 128 // password
@@
-286,6
+287,9
@@
typedef struct
int nak_sent;
} lcp, ipcp, ipv6cp, ccp;
int nak_sent;
} lcp, ipcp, ipv6cp, ccp;
+ // identifier for Protocol-Reject, Code-Reject
+ uint8_t lcp_ident;
+
// authentication to use
int lcp_authtype;
// authentication to use
int lcp_authtype;