From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [patch 0/6] Initial patches for gatchat PPP support
Date: Fri, 12 Mar 2010 15:42:52 -0800 [thread overview]
Message-ID: <1268437372.2906.8.camel@localhost.localdomain> (raw)
In-Reply-To: <20100311140025.68be02ed@kcaccard-MOBL3>
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
Hi Kristen,
> These patches implement PPP support for gatchat. They're not complete, but
> are useful enough to play with if anyone wants to. I included a patch to
> gsmdial which allows you to invoke the PPP routines after the CONNECT
> callback. This patch will create a TUN interface, which you will then
> have to manually configure using the IP Address and DNS information that
> is output by gsmdial to stdout. There are many items yet to be done,
> mostly they fall into these categories:
> * clean exit and Link Loss path
> * Cleanup and deallocate memory properly
> * Implement Error path (Configure-Reject etc).
>
> I tested this on the AT&T sierra modem, but not with any other modem.
> I appreciate your feedback.
some general comments. Please fix your .gitconfig for using git
send-email to show your name along with the email address. Otherwise
Denis or I have to go into every patch and fix it up.
All exported structs should be typedefed and its content hidden. If they
are not meant to be public or can be kept private to the source file
where they are used, then that is preferred.
And of course everything public needs to be namespaced with GAtPPP and
g_at_ppp to have a clear distinction and not clashes.
Two question come to my mind. Have looked into assuring that everything
is big endian safe? What about unaligned access to the data structures?
Seems in some cases you take uint16 and unit32 directly from the stream.
Both things can be fixed up later with patches on top of it, but please
keep it in mind.
Regards
Marcel
prev parent reply other threads:[~2010-03-12 23:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 22:00 [patch 0/6] Initial patches for gatchat PPP support kristen
2010-03-12 23:42 ` Marcel Holtmann [this message]
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=1268437372.2906.8.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox