Projects
osmocom:master
libosmo-netif
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 70
View file
libosmo-netif.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmo-netif Requires: osmocom-master -Version: 1.4.0.6.64d9b5 +Version: 1.4.0.7.106b6 Release: 0 Summary: Osmocom library for muxed audio License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities URL: https://osmocom.org/projects/libosmo-netif -Source: libosmo-netif_1.4.0.6.64d9b5.tar.xz +Source: libosmo-netif_1.4.0.7.106b6.tar.xz Source1: rpmlintrc BuildRequires: automake BuildRequires: libtool >= 2
View file
commit_106b63907a1d9be56bce7cb4a830b4bf52e7ab51.txt
Added
View file
commit_64d9b5487ae0953f29618b0ab313b7456eb1324c.txt
Deleted
View file
libosmo-netif_1.4.0.6.64d9b5.dsc -> libosmo-netif_1.4.0.7.106b6.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmo-netif Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg Architecture: any all -Version: 1.4.0.6.64d9b5 +Version: 1.4.0.7.106b6 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmo-netif Standards-Version: 3.9.6 @@ -15,8 +15,8 @@ libosmo-netif-doc deb doc optional arch=all libosmonetif11 deb libs optional arch=any Checksums-Sha1: - 038d901e7018f59b7d8e133afe3bf02a4f3bc70b 188452 libosmo-netif_1.4.0.6.64d9b5.tar.xz + 8ce3b272ab0d23d1665d13b4be40174de3a03be3 188712 libosmo-netif_1.4.0.7.106b6.tar.xz Checksums-Sha256: - a90e27a4d2eee0f9839d3f4ad55af66eeab82b3520bc42fe0ab1231215a56ddc 188452 libosmo-netif_1.4.0.6.64d9b5.tar.xz + e7510d6a54b9640bd4890fd12c10752837c7e4f06a26dddf09d81de97a8cbd9a 188712 libosmo-netif_1.4.0.7.106b6.tar.xz Files: - 1c44d511efe1efe3250381a0024b1793 188452 libosmo-netif_1.4.0.6.64d9b5.tar.xz + 6495797df6b6d5c3586dd523e00bf039 188712 libosmo-netif_1.4.0.7.106b6.tar.xz
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/.tarball-version -> libosmo-netif_1.4.0.7.106b6.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.4.0.6-64d9b5 +1.4.0.7-106b6
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/debian/changelog -> libosmo-netif_1.4.0.7.106b6.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmo-netif (1.4.0.6.64d9b5) unstable; urgency=medium +libosmo-netif (1.4.0.7.106b6) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 09 Oct 2023 12:26:51 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 09 Oct 2023 12:51:07 +0000 libosmo-netif (1.4.0) unstable; urgency=medium
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/examples/ipa-stream-client.c -> libosmo-netif_1.4.0.7.106b6.tar.xz/examples/ipa-stream-client.c
Changed
@@ -93,9 +93,7 @@ msg_sent->num = i; llist_add(&msg_sent->head, &msg_sent_list); - ipa_prepend_header_ext(msg, IPAC_PROTO_EXT_MGCP); - osmo_ipa_msg_push_header(msg, IPAC_PROTO_OSMO); - + osmo_ipa_msg_push_headers(msg, osmo_ipa_msgb_cb_proto(msg), osmo_ipa_msgb_cb_proto_ext(msg)); osmo_stream_cli_send(conn, msg); LOGP(DIPATEST, LOGL_DEBUG, "enqueueing msg %d of "
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/examples/ipa-stream-server.c -> libosmo-netif_1.4.0.7.106b6.tar.xz/examples/ipa-stream-server.c
Changed
@@ -51,9 +51,7 @@ { LOGP(DSTREAMTEST, LOGL_DEBUG, "received message from stream (payload len=%d)\n", msgb_length(msg)); - ipa_prepend_header_ext(msg, IPAC_PROTO_EXT_MGCP); - osmo_ipa_msg_push_header(msg, IPAC_PROTO_OSMO); - + osmo_ipa_msg_push_headers(msg, osmo_ipa_msgb_cb_proto(msg), osmo_ipa_msgb_cb_proto_ext(msg)); osmo_stream_srv_send(conn, msg); return 0; }
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/include/osmocom/netif/ipa.h -> libosmo-netif_1.4.0.7.106b6.tar.xz/include/osmocom/netif/ipa.h
Changed
@@ -65,4 +65,6 @@ int osmo_ipa_segmentation_cb(struct msgb *msg); +void osmo_ipa_msg_push_headers(struct msgb *msg, enum ipaccess_proto p, enum ipaccess_proto_ext pe); + #endif
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/src/ipa.c -> libosmo-netif_1.4.0.7.106b6.tar.xz/src/ipa.c
Changed
@@ -436,3 +436,15 @@ } return total_len; } + +/*! Push IPA headers to a message + * If we have IPAC_PROTO_OSMO this also takes care of the extension header + * \paramout msg Target message + * \param p Target IPA protocol + * \param pe Target IPA protocol extension. Ignored, unless p equals IPAC_PROTO_OSMO. */ +void osmo_ipa_msg_push_headers(struct msgb *msg, enum ipaccess_proto p, enum ipaccess_proto_ext pe) +{ + if (p == IPAC_PROTO_OSMO) + ipa_prepend_header_ext(msg, pe); + osmo_ipa_msg_push_header(msg, p); +}
View file
libosmo-netif_1.4.0.6.64d9b5.tar.xz/tests/stream/stream_test.c -> libosmo-netif_1.4.0.7.106b6.tar.xz/tests/stream/stream_test.c
Changed
@@ -384,12 +384,17 @@ IPAC_PROTO_IPACCESS, IPAC_MSGT_PONG }; +#define IPAC_MSG_IDREQ_PAYLOAD_INITIALIZER \ + IPAC_MSGT_ID_GET, \ + 0x01, IPAC_IDTAG_UNITNAME +static const uint8_t ipac_msg_idreq_payload = { + IPAC_MSG_IDREQ_PAYLOAD_INITIALIZER +}; #define IPAC_MSG_ID_REQ_LEN 0x03 static const uint8_t ipac_msg_idreq = { 0x00, IPAC_MSG_ID_REQ_LEN, IPAC_PROTO_IPACCESS, - IPAC_MSGT_ID_GET, - 0x01, IPAC_IDTAG_UNITNAME + IPAC_MSG_IDREQ_PAYLOAD_INITIALIZER }; #define ipac_msg_idreq_third (sizeof(ipac_msg_idreq)/3) #define ipac_msg_idreq_last_third (sizeof(ipac_msg_idreq) - 2 * ipac_msg_idreq_third) @@ -574,7 +579,8 @@ fprintf(stderr, "Cannot allocate message\n"); return -ENOMEM; } - put_ipa_msg(data, m, ipac_msg_idreq); + put_ipa_msg(data, m, ipac_msg_idreq_payload); + osmo_ipa_msg_push_headers(m, IPAC_PROTO_IPACCESS, -1); osmo_stream_srv_send(conn, m); } else if (msgnum_srv == 7 && *msgt == IPAC_MSGT_PONG) { test_segm_ipa_stream_srv_all_msgs_processed = true; @@ -766,7 +772,8 @@ fprintf(stderr, "Cannot allocate message\n"); return -ENOMEM; } - put_ipa_msg(data, m, ipac_msg_idreq); + put_ipa_msg(data, m, ipac_msg_idreq_payload); + osmo_ipa_msg_push_headers(m, IPAC_PROTO_IPACCESS, -1); osmo_stream_cli_send(osc, m); } else if (msgnum_cli == 7 && *msgt == IPAC_MSGT_PONG) { test_segm_ipa_stream_cli_all_msgs_processed = true;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.