Re: pppx(4): rework to be clese to pseudo-interfaces

2020-06-09 Thread Martin Pieuchot
On 08/06/20(Mon) 15:09, Vitaliy Makkoveev wrote: > On Mon, Jun 08, 2020 at 12:49:05PM +0300, Vitaliy Makkoveev wrote: > > [...] > > There is another way to rewrite pppx_add_session() and > > pipex_add_session(). We can split pipex_add_session() to two > > functions: pipex_init_session() and

Re: pppx(4): rework to be clese to pseudo-interfaces

2020-06-08 Thread Vitaliy Makkoveev
On Mon, Jun 08, 2020 at 12:49:05PM +0300, Vitaliy Makkoveev wrote: > > > > On 8 Jun 2020, at 11:34, Martin Pieuchot wrote: > > > > On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote: > >> This time pppx_add_session() has mixed initialisation order. It starts > >> to initialise pipex(4) session,

Re: pppx(4): rework to be clese to pseudo-interfaces

2020-06-08 Thread Vitaliy Makkoveev
> On 8 Jun 2020, at 11:34, Martin Pieuchot wrote: > > On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote: >> This time pppx_add_session() has mixed initialisation order. It starts >> to initialise pipex(4) session, then initialises `ifnet', then links >> pipex(4) session, then continue to

Re: pppx(4): rework to be clese to pseudo-interfaces

2020-06-08 Thread Martin Pieuchot
On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote: > This time pppx_add_session() has mixed initialisation order. It starts > to initialise pipex(4) session, then initialises `ifnet', then links > pipex(4) session, then continue to initialize `ifnet'. > pppx_add_session() can sleep and

Re: pppx(4): rework to be clese to pseudo-interfaces

2020-06-03 Thread Vitaliy Makkoveev
ping?

pppx(4): rework to be clese to pseudo-interfaces

2020-05-29 Thread Vitaliy Makkoveev
This time pppx_add_session() has mixed initialisation order. It starts to initialise pipex(4) session, then initialises `ifnet', then links pipex(4) session, then continue to initialize `ifnet'. pppx_add_session() can sleep and pppx_if_start() can start to work with unlinked pipex(4) session.