Hi Marcel, Marcel Holtmann wrote: > Hi Steven, > >> I have a little question just as the title said? >> In Ofono how to connect PPP to Linux socket, when we receive packet >> from network, how the packet go through the kernel to application? >> >> modem -->PPP-->? --> linux kernel(network part)--> socket --> >> application? > > it is more like this: > > modem -> TTY -> PPP -> TUN/TAP -> Kernel Net-Stack -> socket -> > application. > > With the TTY being in kernel, the PPP being in userspace, and TUN/TAP > etc. begin in the kernel again. > > A future enhancement is to use the kernel PPP layer, but we haven't > gotten there yet.
I am interested to know how could we use kernel PPP layer instead of gatppp. Shall we add this item into our TODO? > Regards > > Marcel > > > _______________________________________________ > ofono mailing list > ofono@ofono.org > http://lists.ofono.org/listinfo/ofono Regards, Zhenhua _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono