Age | Commit message (Collapse) | Author | Files | Lines |
|
presumably, sock->gti_len is always zero when sock->gti is NULL, but ensure
with a check and make coverity scan happy.
Change-Id: I6cf195a3fbda1d9eacbbaec9a0e7f5b4c154f428
Fixes: coverity CID#57683
|
|
Change-Id: I837eee6cc6e2bdea65988b19d9e15601eda44589
|
|
There are some compiler warnings about other unused variables which we
rather keep as a reminder that the SUA code is partially incomplete and
should be finished at some day.
Change-Id: I42b76351f1bbdfb7fe339d5fad98c5a065822a45
|
|
This reverts commit ed9e76e46e530faf2560fc875ecbe83faff8d809.
The libraries in src/ do not have 'osmo' in their name, hence
neither in $prefix/lib. This patch caused linking failure.
Reproduce: do not have libosmo-sccp installed in the system
and make sure no older pkg-config pc files are around.
Build all dependencies with an arbitrary --prefix
passed to configure scripts. Point PKG_CONFIG_PATH (and
optionally LD_LIBRARY_PATH) to this prefix. Finally, build
openbsc using the same --prefix: even though libosmo-sccp
has been installed, it complains:
CCLD osmo-bsc_nat
/usr/bin/ld: cannot find -losmo-sccp
collect2: error: ld returned 1 exit status
Makefile:447: recipe for target 'osmo-bsc_nat' failed
Change-Id: I1a113604b2f037b897954fe8d370291d3c1e2a0a
|
|
Change-Id: I5081799e1d7c7f5f3206e5f38060540bb4e3289b
Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
|
|
Change-Id: I967f3c3031777837fee8717ca3f6bb59d6614149
|
|
Like in libosmo-abis' jenkins.sh
Change-Id: I4e462e2c92db14b6c2e18b212779761f2e1829af
|
|
Change-Id: I0066b33ce59d1e107ca8e7389599b232a033ba2e
|
|
Explicitly set AC_CONFIG_AUX_DIR.
To reproduce the error avoided by this patch:
rm install-sh # in case it was already generated.
touch ../install-sh # yes, outside this source tree
autoreconf -fi
This will produce an error like
...
configure.ac:16: error: required file '../ltmain.sh' not found
configure.ac:5: installing '../missing'
src/Makefile.am: installing '../depcomp'
autoreconf: automake failed with exit status: 1
See also automake (vim `which automake`) and look for 'sub locate_aux_dir'.
Change-Id: Iec88e41c1fe80b436d6d08005871bead540e387d
|
|
By accident, I already fixed this typo in osmo-iuh, breaking the build. Instead
of reverting there, fix it here.
Change-Id: I4076fb37c0d94be7adff46e76465884a61c54c9a
|
|
hwelte requested this change for the addition of libiu in openbsc. In a
conversation we came to the conclusion that a rename of these two opaque
structs would suffice.
This is the "upstream" rename and will require adaptation of:
* the sysmocom/iu branch in this repository
* the iu related branches in openbsc.git
* the hnbgw and dummy_cn code in osmo-iuh.git
See https://gerrit.osmocom.org/#/c/192/2/openbsc/src/libiu/iu.c@57
Change-Id: Icbf64dd96f8e0e27695df73d1144519b88360b94
|
|
Change-Id: I00ff99ef14d62d3b353fe69762ae49f374938f94
Reviewed-on: https://gerrit.osmocom.org/265
Tested-by: Jenkins Builder
Reviewed-by: Harald Welte <laforge@gnumonks.org>
|
|
The fixme is about an actual message sent back, not about the error log.
Change-Id: I6de8fb202c7beb025232e9b97605e9f46778506a
Reviewed-on: https://gerrit.osmocom.org/228
Tested-by: Jenkins Builder
Reviewed-by: Harald Welte <laforge@gnumonks.org>
|
|
Make sure the version number of this sourcepackage is higher than
the one found in Debian SID.
Change-Id: I87534954c1f4b499e27452382df412454ea16b64
Reviewed-on: https://gerrit.osmocom.org/109
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
|
|
Change-Id: I7b0825112afcb630f40b2d2670952e0beea0a436
Reviewed-on: https://gerrit.osmocom.org/72
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
|
|
The test 'hardcoded' a local define for RANAP SSN as 142, instead use the
proper OSMO_SCCP_SSN_RANAP define from sccp_sap.h
|
|
hopefully we should now know all that we ever expect to need.
|
|
143 is actually the SSN for RNSAP. Wireshark displayed a RNSAP message type
and malformed packet warning until I fixed this to 142. Now I get the proper
RANAP and id-Paging reported.
There has been a reallocation for RANAP and RNSAP SSNs, though the old SSN for
RANAP is apparently 32 (seen in a pcap from a real 3G network). When I send 32
instead of 142, wireshark also decodes the message as valid RANAP.
|
|
This can be used to replicate a build issue more easily.
|
|
As part of SUA+SCTP we need this.
|
|
|
|
|
|
Sponsored-by: On-Waves ehf
Signed-off-by: Max <msuraev@sysmocom.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... this code originates from the osmo-iuh repository, but is now part
of a new shared libosmo-sigtran.so library generated in this repository.
|
|
|
|
Running "make distcheck" failed trying to generate ".version" into the
read-only unpacked source directory. Actually shipping ".version" in the
tarball fixes that.
The error manifested as:
make[1]: Entering directory '/tmp/build/libosmo-sccp-0.0.6.3.24-758d/_build'
echo 0.0.6.3.24-758d > ../.version-t && mv ../.version-t ../.version
/bin/bash: ../.version-t: Permission denied
Makefile:807: recipe for target '../.version' failed
|
|
This file is dropped into the top-level source directory by "autoreconf
-i".
|
|
At the time a SCCP CREF is sent there is no context anymore
and the user of the API might not know where to return the
message to. Allow to specify the incoming context and use it
on the way out.
There are no more callers of _send_msg which passes a NULL
connection and a NULL context.
|
|
|
|
Taken from libosmocore
|
|
|
|
|
|
This already fixes a clash of filenames in cellmgr-ng
|
|
|
|
|
|
|
|
Generalize, this requires various API modifications
but that is the most sane path forward.
|
|
Begin with type definitions for m3ua
|
|
Use the new osmocom/core/endian.h to gaim portability.
This has only been compiled/make check on two little
endian systems.
|
|
libosmo-sccp source: debhelper-but-no-misc-depends libosmo-sccp-dev
|
|
|
|
|