diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-03-14 04:10:25 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-05 16:25:28 +0000 |
commit | 73b943e88d4a2f077f6bfec643da796643e9455b (patch) | |
tree | a595ed941e7c918e067432c3f1db65e5302880d9 /include/osmocom/gprs/protocol/gsm_08_16.h | |
parent | cc26a8b6c3ea439ef9ca314193a933c8505a8197 (diff) |
add gsm0808_create_handover_request_ack2 to add AoIP RTP addr
osmo-bsc so far omits the AoIP Transport Layer Address from its Handover
Request Acknowledge message, which breaks inter-BSC Handover for AoIP.
Allow fixing that.
One quirk I really don't like about this: I would prefer to directly use struct
sockaddr_storage as a member of the struct gsm0808_handover_request_ack. Even
though struct sockaddr_storage appears in various function signatures, the
gsm0808.c actually also gets built on embedded systems that lack arpa/inet.h
(for me indicated by the ARM build job on jenkins). Compiling gsm0808.c works
only because the actual coding of struct sockaddr_storage is implemented in
gsm0808_util.c, which (apparently) does not get built on embedded and hence,
even though there are undefined references to e.g.
gsm0808_enc_aoip_trasp_addr() it works.
Related: I4a5acdb2d4a0b947cc0c62067a67be88a3d467ff (osmo-bsc)
Change-Id: Ia71542ea37d4fd2c9fb9b40357db7aeb111ec576
Diffstat (limited to 'include/osmocom/gprs/protocol/gsm_08_16.h')
0 files changed, 0 insertions, 0 deletions