libosmocore/include/osmocom
Harald Welte 9fe1f9fb0b Introduce CRC and FSM for IuUP (user plane) as used in 3G RTP data
Only support for SMpSDU mode is introduced in this commit.

Not supported explicit list:
- Transparent mode
- ATM/AAL2 based Transport layer
- GTP-U based Transport Layer
- Iu Rate Control procedure
- Time Alignment procedure

APIs are provided to allocate the primitives properly inside the related
msgb. This way primitives can be placed in the headroom, leaving the
data part of the msgb for the IuUP payload, hence allowing re-use of the
msgb and 0 copy of IuUP payload when forwarding data over RNL<->TNL.
Since RNL and TNL primitives relu struct osmo_prim_header, which is not
packed, they cannot be set to packed, and hence proper memory alignment
in the msgb must be done to avoid misaligned accesses (Asan errors about
it otherwise).

Related: SYS#5516
Change-Id: Ibe356fa7b1abaca0091e368db8478e79c09c6cb0
2021-12-22 14:58:31 +01:00
..
codec codec: add missing osmo_amr_type_name function. 2021-08-23 15:44:00 +02:00
coding gsm0503_parity: Fix compilation with gcc-10 2020-04-20 18:18:50 +02:00
core Introduce CRC and FSM for IuUP (user plane) as used in 3G RTP data 2021-12-22 14:58:31 +01:00
crypt include: add enum for UTRAN cipher 2021-11-11 09:02:24 +00:00
ctrl {ctrl,vty}/ports.h: Allocate ports for osmo-hnodeb 2021-10-21 12:53:33 +02:00
gprs include/: Adapt some headers to match contrib/struct_endianess.py format 2021-12-22 13:57:48 +01:00
gsm Introduce CRC and FSM for IuUP (user plane) as used in 3G RTP data 2021-12-22 14:58:31 +01:00
sim treewide: remove FSF address 2021-12-14 12:44:03 +01:00
usb treewide: remove FSF address 2021-12-14 12:44:03 +01:00
vty treewide: remove FSF address 2021-12-14 12:44:03 +01:00