summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/l2tp.h
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2014-04-08 22:54:06 +0200
committerDmitry Kozlov <xeb@mail.ru>2014-04-11 06:47:26 +0400
commitc924d549138bf40085da8a6498492002c847ed4e (patch)
treead14e0076ff106819c8efd779010992938a2d611 /accel-pppd/ctrl/l2tp/l2tp.h
parent250167afcf5918d8bd310cd887a0f554eac9e8b1 (diff)
downloadaccel-ppp-c924d549138bf40085da8a6498492002c847ed4e.tar.gz
accel-ppp-c924d549138bf40085da8a6498492002c847ed4e.zip
l2tp: use separate function for handling tunnel specific messages
Remove message type switch from l2tp_conn_read(). Define l2tp_tunnel_recv() instead to handle tunnel specific messages. The Session ID field in L2TP control messages is used to determine if packet is tunnel or session oriented. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/l2tp.h')
0 files changed, 0 insertions, 0 deletions