Content-Type: multipart/mixed; boundary="===============0868995817957509472==" MIME-Version: 1.0 From: Marcel Holtmann Subject: Re: [patch 3/6] LCP support Date: Wed, 17 Mar 2010 00:09:25 -0700 Message-ID: <1268809765.2700.104.camel@localhost.localdomain> In-Reply-To: <20100316171315.08b8ff09@kcaccard-MOBL3> List-Id: To: ofono@ofono.org --===============0868995817957509472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Kristen, > Makefile.am | 6 - > gatchat/gatppp.c | 53 +++++++++ > gatchat/gatppp_internal.h | 8 + > gatchat/gatppplcp.c | 244 +++++++++++++++++++++++++++++++++++++++= +++++++ this should be gatchat/ppp_lcp.c > +void __ppp_set_auth(GAtPPP *ppp, guint8* auth_data) > +{ > + guint16 proto =3D ntohs(*(guint16 *)auth_data); This are again one of these constructs that will break on non-x86 hardware. I think you need to create ppp_get_unaligned and ppp_put_unaligned. If all of them are be16 anyway, you could do ppp_get_unaligned_be16 etc. Regards Marcel --===============0868995817957509472==--