Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add/clean big-endian packed structs (struct_endianess.py) | Neels Hofmeyr | 2018-12-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This is 1:1 the result of doing cd libosmocore ./contrib/struct_endianess.py git commit -a Running struct_endianess.py again should result in no changes. That means we could include such a check in the gerrit verification job now. Change-Id: Ia0b99d76932aeb03e93bd0c62d3bf025dec5f9d2 | ||||
* | introduce byteswap.h with osmo_{htonl,ntohl,htons,ntohs} | Harald Welte | 2017-05-15 | 2 | -0/+34 |
We need to have an architecture-independend way of endian conversion / byte swapping functions which will also work on embedded (bare iron) builds. Let's introduce osmocom/core/bytesawp.h for this purpose. Change-Id: Ibc0cc1e36d4ed63a35cf8ceff3af0f26e5ac7a3d |