The test suite for libosmocore fails on big-endian architectures

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Fri Dec 11 04:05:31 UTC 2015


On Thu, Dec 10, 2015 at 09:51:14AM +0100, Harald Welte wrote:
> On Wed, Dec 09, 2015 at 01:26:41PM -0500, Jaroslav Skarvada wrote:
> > I think correct portable implementation should use macros and
> > bitmasks, maybe something to consider for future updates
> 
> IP headers and TCP headers are always defined as bit filds, look at the
> netinet/ip.h and netinet/tcp.h.  We're in the best of traditions here ;)

...not that it would win a code beauty contest though :)
Maybe a consolation prize for the most widely used redundancy...

~Neels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20151211/39dfdfe5/attachment.bin>


More information about the OpenBSC mailing list