Change in libosmocore[master]: add gsm0808_create_handover_request_ack2 to add AoIP RTP addr

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Apr 12 00:08:30 UTC 2019


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/13259 )

Change subject: add gsm0808_create_handover_request_ack2 to add AoIP RTP addr
......................................................................


Patch Set 9:

(1 comment)

https://gerrit.osmocom.org/#/c/13259/9//COMMIT_MSG
Commit Message:

https://gerrit.osmocom.org/#/c/13259/9//COMMIT_MSG@15
PS9, Line 15: 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)
> we can simply not compile 08.08 related functions in the "embedded" case. […]
Yes, I actually did try quite a few things, and in the end decided it's not worth it to waste my time on.
Originally I wanted to use a struct sockaddr as a member in struct gsm0808_handover_*.
In the meantime I have befriended the idea of passing pointers in those structs, so not that urgent.

The core problem was that I cannot use struct sockaddr as a non-opaque struct in the header file.
Even though on embedded, the .c file isn't built, the header file is still included!
And in the .h file one obviously cannot use '#if (!EMBEDDED)', because in /usr/include there is no config.h.

It's not a big deal for me anymore,
but in general the include / compile semantics for gsm0808.h are unsorted/wrong.



-- 
To view, visit https://gerrit.osmocom.org/13259
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia71542ea37d4fd2c9fb9b40357db7aeb111ec576
Gerrit-Change-Number: 13259
Gerrit-PatchSet: 9
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Comment-Date: Fri, 12 Apr 2019 00:08:30 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190412/b5ab1c27/attachment.htm>


More information about the gerrit-log mailing list