summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-02-22 04:48:56 +0100
committerHarald Welte <laforge@gnumonks.org>2019-02-26 10:34:33 +0000
commit99273c7662b786a9c92d25282060dc791ee37a4a (patch)
treeab90d9ac562087124b4a8b664deff9d144b9d2b5 /tests
parent5ec0cf5475a7b31efa3b122f53e6c2a0e1908c20 (diff)
enlarge gsm0808 msgb headroom
It should be large enough to prepend a struct osmo_scu_prim to pass down an SCCP stack (see libosmo-sccp). 264 should suffice, but pick the next larger power-of-two instead. In osmo-msc, I would like to prepend an osmo_prim to the msgb created by gsm0808 API, but turns out the headroom is too small: msgb(0x61700001b660): Not enough headroom msgb_push (126 < 264) Instead of always copying a msgb that has just that instant been created, it makes more sense to allocate sufficient headroom in the first place. Change-Id: I95729991eb49555f8bba60c5dc916131b03b6cf2
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions