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

Harald Welte laforge at gnumonks.org
Thu Dec 10 08:51:14 UTC 2015


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 ;)

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list