[PATCH] Add generic LE/BE load/store uint type convertors and use them in msgb

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/baseband-devel@lists.osmocom.org/.

Max.Suraev at fairwaves.ru
Sat Dec 28 20:27:55 UTC 2013


Attached is simple patch which adds little-endian & big-endian macro to move bytes to
and from multibyte integer types like uint16_t, uint32_t etc.

Some of this code is used right away in msgb.h but it will also be used in kasumi
implementation later on.

-- 
best regards,
Max, http://fairwaves.ru


More information about the baseband-devel mailing list