From: Zhang, Zhenhua <zhenhua.zhang@intel.com>
To: ofono@ofono.org
Subject: RE: About Connection between PPP and linux Sockets
Date: Fri, 20 Aug 2010 10:21:52 +0800 [thread overview]
Message-ID: <33AB447FBD802F4E932063B962385B352A3540B8@shsmsx501.ccr.corp.intel.com> (raw)
In-Reply-To: <4C6DE51A.4010703@neusoft.com>
[-- Attachment #1: Type: text/plain, Size: 2603 bytes --]
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 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?
>>>>
>>> Maybe you can reference to RILD in Android, it used kernel PPP.
>>
>> Thanks. Will take a look then.
>
> This information is a good start point.
> http://www.devdiv.net/viewthread-26543
>
> But only for Chinese people:(
Thanks. I have read this before. ;-). The original article is from maxleng's blog:
http://blog.csdn.net/maxleng/archive/2010/05/10/5576509.aspx
However, it's just a big picture about phone stack in Android. It said nothing about how Android works with kernel PPP layer.
> B.R
>
> Steven
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and
> any accompanying attachment(s) is intended only for the use of the
> intended recipient and may be confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
> reader of this communication is not the intended recipient,
> unauthorized use, forwarding, printing, storing, disclosure or
> copying is strictly prohibited, and may be unlawful.If you have
> received this communication in error,please immediately notify the
> sender by return e-mail, and delete the original message and all
> copies from your system. Thank you.
> ---------------------------------------------------------------------------------------------------
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
Regards,
Zhenhua
next prev parent reply other threads:[~2010-08-20 2:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 9:31 About Connection between PPP and linux Sockets Steven
2010-08-19 10:54 ` Marcel Holtmann
2010-08-20 0:51 ` Zhang, Zhenhua
2010-08-20 1:18 ` Marcel Holtmann
2010-08-20 1:24 ` Steven
2010-08-20 1:43 ` Zhang, Zhenhua
2010-08-20 2:14 ` Steven
2010-08-20 2:21 ` Zhang, Zhenhua [this message]
2010-08-20 8:29 ` Marcel Holtmann
2010-08-20 8:53 ` Steven
2010-08-20 11:33 ` Marcel Holtmann
2010-08-20 13:11 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-08-20 13:48 ` Marcel Holtmann
2010-08-20 0:57 ` Steven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33AB447FBD802F4E932063B962385B352A3540B8@shsmsx501.ccr.corp.intel.com \
--to=zhenhua.zhang@intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.