Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
Hi Remi, > > for a mobile telephony stack, pppd is wrong. Once you understand how 3G > > missuses PPP for IP and PDP context setup, you see what I mean ;) > > For mobile telephony, PPP as a _protocol_ is wrong - sure. That being > stated, I don't see how pppd as a _software_ is better or worse th

Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Rémi Denis-Courmont
On Fri, 20 Aug 2010 13:33:35 +0200, Marcel Holtmann wrote: > for a mobile telephony stack, pppd is wrong. Once you understand how 3G > missuses PPP for IP and PDP context setup, you see what I mean ;) For mobile telephony, PPP as a _protocol_ is wrong - sure. That being stated, I don't see how p

Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
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(ne

Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Steven
Hi Marcel, Marcel Holtmann wrote: Hi Zhenhua, 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 -->

RE: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
Hi Zhenhua, > >> 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

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
Hi Steven, Steven wrote: > Hi Zhang, > > Zhang, Zhenhua wrote: >> Hi Steven, >> >> Steven wrote: >>> Hi Zhang >>> Zhang, Zhenhua wrote: Hi Marcel, Marcel Holtmann wrote: > Hi Steven, > >> I have a little question just as the title said? >> In Ofono how to connect

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Zhang, Zhang, Zhenhua wrote: Hi Steven, Steven wrote: Hi Zhang Zhang, Zhenhua wrote: 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

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
Hi Steven, Steven wrote: > Hi Zhang > Zhang, Zhenhua wrote: >> 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 th

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Zhang Zhang, Zhenhua wrote: 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 kerne

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
Hi Zhenhua, > >> 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 --> > >> applicati

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Steven
Hi Marcel, 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:

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Zhang, Zhenhua
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)-

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
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