diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-11 21:02:58 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-12 00:12:48 +0400 |
commit | f478f82d91e7344a59363c409c778dc12133ecb7 (patch) | |
tree | d45d60495d9e9e95f4fb934f9b829ef11d268e24 /crypto/md5.c | |
parent | c7a7743845a5d00f4609e7a61e6261564e2c3acf (diff) | |
download | accel-ppp-xebd-f478f82d91e7344a59363c409c778dc12133ecb7.tar.gz accel-ppp-xebd-f478f82d91e7344a59363c409c778dc12133ecb7.zip |
l2tp: Add l2tp mode flag (LAC or LNS)
Define the lns_mode flag for tunnels and sessions to keep track
of their operating state. A session's mode is inherited from its
parent tunnel.
The session's mode is used to set the PPPOL2TP_SO_LNSMODE socket
option to its PPP socket.
For tunnels, the mode is used to define how new sessions may be
created:
-In LNS mode, new sessions may be created by accepting incomming
calls (ICRQ) or by placing outgoing calls (OCRQ).
-In LAC mode, tunnels will create sessions by accepting outgoing
calls or by placing incomming calls.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions