All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven <liu-dj@neusoft.com>
To: ofono@ofono.org
Subject: About ppp_receive()
Date: Mon, 23 Aug 2010 13:42:49 +0800	[thread overview]
Message-ID: <4C720A59.5000504@neusoft.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]

Hi,

In function ppp_receive, we first check the protocol type of this frame 
like:

  guint16 protocol = ppp_proto(buf);

and here we assumed the length of the protocol field is 16 bits, but in 
RFC 1661, the protocol field should be one or two octets.

"The Protocol field is one or two octets, and its value identifies
the datagram encapsulated in the Information field of the packet."

why we given the assumption that protocol field is 16 bit length?

In CDMA 2000 environment, just as the Sprint Network, PPP should support 
  a compressed protocol field. Is there anything difference between GSM 
and CDMA?

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. 
---------------------------------------------------------------------------------------------------


             reply	other threads:[~2010-08-23  5:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23  5:42 Steven [this message]
2010-08-23  9:12 ` About ppp_receive() Marcel Holtmann
2010-08-24 10:17 ` Zhang, Zhenhua
2010-08-25  1:31   ` Steven
2010-08-25  1:56     ` Zhang, Zhenhua
2010-08-25  2:04       ` Steven
2010-08-25  2:17         ` Zhang, Zhenhua
2010-08-25  2:17       ` Steven
2010-08-25  2:56         ` Denis Kenzior
2010-08-25  3:22           ` Steven
2010-08-25  3:26             ` Denis Kenzior
2010-08-25  3:48               ` Steven
2010-08-25  4:18                 ` Marcel Holtmann
2010-08-25  4:22                   ` Steven
2010-08-25  5:07                     ` Marcel Holtmann
2010-08-25  5:36                       ` Steven
2010-08-25  5:49                         ` Steven
2010-08-25  4:12     ` Marcel Holtmann

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=4C720A59.5000504@neusoft.com \
    --to=liu-dj@neusoft.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.