diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2012-09-07 12:33:05 +0200 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-09-07 14:46:20 +0400 |
commit | 5fcc486dffec346224db935c9e9431777ab939df (patch) | |
tree | 0e210b180658b0f994f459f83ba89618781d2ba5 /accel-pppd/ipv6/CMakeLists.txt | |
parent | a7025611db322bba6343507dfee7faba97a8c5de (diff) | |
download | accel-ppp-5fcc486dffec346224db935c9e9431777ab939df.tar.gz accel-ppp-5fcc486dffec346224db935c9e9431777ab939df.zip |
L2TP: Add session specific allocation function
Separate session allocation from the rest of tunnel allocation
operations. This implies a few extra modifications:
* Store destination address of the SCCRQ message in the
connection structure (and rename the "addr" field to
"lac_addr" for consistency). This information is required
for allocating the session.
* No more PPP information in log prefix: with session
multiplexing, tunnels are no longer tied to a single PPP
session, so there is no struct ppp_t to pass as parameter
to the log_switch() function.
Session allocation is currently still done inside
l2tp_tunnel_alloc(). It should rather be done at session
establishment once tunnel/session separation will be terminated.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ipv6/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions