Re: problems with L2TP

2015-07-06 Thread Sam Protsenko
Thanks for your reply, Tom! > How is the tunnel/session being created on the server side? My server is xl2tpd. If I understand correctly, session and tunnel are being created in start_pppd() function, see [1]. Judging from xl2tpd logs (see [2]), start_pppd() function is executed, in turn, from co

Re: problems with L2TP

2015-07-03 Thread Tom Parkin
Hi Sam, On Fri, Jul 03, 2015 at 04:49:51PM +0300, Sam Protsenko wrote: > Hi, > > I'm having issues running user-space code, which uses net/l2tp/l2tp_ppp.c. > The code is supposed to be running in LAC mode (which is I believe is > default). > My server configuration described here: https://wiki.l

problems with L2TP

2015-07-03 Thread Sam Protsenko
Hi, I'm having issues running user-space code, which uses net/l2tp/l2tp_ppp.c. The code is supposed to be running in LAC mode (which is I believe is default). My server configuration described here: https://wiki.linaro.org/LMG/Kernel/PPP I was trying to use next code snippets as user-space part: