libosmocore/include
Daniel Willmann 2fa0e9df68 tlv: Fix length returned by t{l16,16l}v_put
Every other function returns a pointer to the first byte after the tlv
that was just written.

tl16v seems to be a copy and paste error from tlv16 above and t16lv seems
to count the 16-bit tag twice.

The new tests verify that the return value of *_put(buf, tag, len, val)
points to buf + *_GROSS_LEN(len).

Change-Id: I268a7e11fb5dce67ce1bd7974ab86c4d2bd002f7
2021-03-18 14:20:35 +01:00
..
osmocom tlv: Fix length returned by t{l16,16l}v_put 2021-03-18 14:20:35 +01:00
Makefile.am Introduce osmo_gettid() API 2021-02-17 18:24:17 +01:00