Harald Welte
bf49cc1c00
Import SUA (SCCP User Adaptation) and SCCP User SAP
...
... this code originates from the osmo-iuh repository, but is now part
of a new shared libosmo-sigtran.so library generated in this repository.
2015-12-22 23:03:41 +01:00
Holger Hans Peter Freyther
46c2945af2
debian: Prepare a new release
2015-08-01 20:12:26 +02:00
Andreas Rottmann
2d2d885bd1
build: Fix "make distcheck"
...
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
2015-06-19 21:05:52 +02:00
Andreas Rottmann
6334e3bcfd
gitignore: Add 'compile'
...
This file is dropped into the top-level source directory by "autoreconf
-i".
2015-06-19 21:05:07 +02:00
Holger Hans Peter Freyther
a9c411ec8c
sccp: Allow to specify the context of the incoming message
...
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.
2015-06-15 09:40:43 +02:00
Holger Hans Peter Freyther
b89e03de22
debian: Build new version of the package
2015-04-16 21:17:13 +02:00
Holger Hans Peter Freyther
e0cd6c4d3b
mtp: Correct the pointcode mask
...
Taken from libosmocore
2015-03-24 19:19:57 +01:00
Holger Hans Peter Freyther
e48db7f497
mtp: Add missing defines from cellmgr-ng
2015-03-24 19:16:16 +01:00
Holger Hans Peter Freyther
6bdea14915
mtp: Add implementation from cellmgr
2015-03-24 19:12:54 +01:00
Holger Hans Peter Freyther
837beea52c
mtp: Convert to pragma once
...
This already fixes a clash of filenames in cellmgr-ng
2015-03-24 19:09:13 +01:00
Holger Hans Peter Freyther
80565cd8c3
mtp: Error about unknown endian as well
2015-03-24 19:08:56 +01:00
Holger Hans Peter Freyther
0a8308764c
mtp: Implement reading the OPC/DPC for little endian
2015-03-24 19:07:02 +01:00
Holger Hans Peter Freyther
953d4eda47
m3ua: Add the definition of the protocol data header
2015-03-24 18:34:57 +01:00
Holger Hans Peter Freyther
7046633c02
xua: Generalize the m2ua_msg and call it xua_msg
...
Generalize, this requires various API modifications
but that is the most sane path forward.
2015-03-23 12:28:06 +01:00
Holger Hans Peter Freyther
4d244d3c31
XUA: Move m2ua headers to sigtran, create xua_types.h and m3ua_types.h
...
Begin with type definitions for m3ua
2015-03-23 11:06:51 +01:00
Holger Hans Peter Freyther
a93c6f3113
endian: Use new osmocom/core/endian.h
...
Use the new osmocom/core/endian.h to gaim portability.
This has only been compiled/make check on two little
endian systems.
2015-03-22 09:10:23 +01:00
Holger Hans Peter Freyther
8f2ec84a5b
debian: Add misc depends as wanted by lintian
...
libosmo-sccp source: debhelper-but-no-misc-depends libosmo-sccp-dev
2015-03-14 19:51:31 +01:00
Holger Hans Peter Freyther
e348335978
debian: Bump the version
2015-03-14 19:47:33 +01:00
Holger Hans Peter Freyther
83ff5eaa74
debian: By definition this only creates a dev package
2015-03-14 19:46:58 +01:00
Holger Hans Peter Freyther
e119901c51
debian: Move to multi-arch support
2015-03-14 19:42:23 +01:00
Holger Hans Peter Freyther
61edd242d0
debian: Enable hardening for the SCCP library build
2013-12-12 12:51:26 +01:00
Alexander Huemer
7925409b35
Makefile.am: Use AM_CPPFLAGS
...
Since automake 1.13 INCLUDES is depricates and causes a warning
2013-06-12 07:56:31 +02:00
Holger Hans Peter Freyther
b01178898f
sccp: Create sccp_create_cr and use it in the connection creation
...
The data is optional in the in the CR msg so we have to check if the
msgb is NULL or not.
2013-04-10 16:17:14 +02:00
Holger Hans Peter Freyther
736c66066b
misc: Fix a compiler warning about the filter_fn type
2013-04-10 16:17:13 +02:00
Holger Hans Peter Freyther
0b0dda7e4b
misc: Use a unsigned result for the sizeof sizes
...
Avoid comparing unsigned/signed values with the msgb. In practice
our messages are way lower than this would would matter though.
2013-04-10 16:17:13 +02:00
Holger Hans Peter Freyther
9fae5ee932
debian: Add debug packages with the debug symbols
2013-04-10 16:17:13 +02:00
Holger Hans Peter Freyther
74a5051524
debian: Add the changelog for the next release
2013-04-10 16:17:13 +02:00
Daniel Willmann
03a43b869c
tests: Don't delete atconfig in clean
...
This file is created in ./configure so we shouldn't remove it with make.
Otherwise ./configure && make clean && make check fails with:
make[3]: *** No rule to make target `atconfig', needed by `check-local'.
Stop.
2012-12-26 12:23:37 +01:00
Eric Butler
5370d033fb
Use package version since git info won't be available.
2012-08-14 20:53:39 -07:00
Eric Butler
178d606379
Update debian package.
2012-08-14 18:08:18 -07:00
Holger Hans Peter Freyther
38dafe5241
misc: Fix the email address in the configure.ac
2012-03-26 16:37:37 +02:00
Holger Hans Peter Freyther
e68510cf3a
tests: Remove the missing and use it from $(top_srcdir)
2011-12-06 14:49:30 +01:00
Holger Hans Peter Freyther
72df7f09ec
tests: Run the existing tests with GNU Autotest
...
SCCP: Use DST/SRC Ref instead of the pointer value to create
stable releases.
2011-11-20 12:11:57 +01:00
Harald Welte
ebd4f4563c
{m2ua,sccp}_test: use (void) ANSI function declarations
2011-07-16 14:49:35 +02:00
Holger Hans Peter Freyther
ef8fc3bf28
misc: Fix the log_init init call with a recent libosmocore
2011-06-30 20:44:01 +02:00
Holger Hans Peter Freyther
84406e2779
sccp: Make sccp_write take an additional local context
...
For connection less data there is no way to pass a per context
data for outgoing data, add one.
2011-06-04 16:55:50 +02:00
Alexander Huemer
90f38cb7ed
libosmo-sccp: update .gitignore
2011-05-24 17:20:38 +02:00
Alexander Huemer
7f495a1a13
libosmo-sccp: add missing AC_LANG_SOURCE for current autoconf
...
autoconf >=2.68 demands the body of an AC_COMPILE_IFELSE to be wrapped in
an AC_LANG_SOURCE macro, otherwise outputs annoying warnings on the
invocation of `autoreconf -i`. this patch follows that demand.
2011-05-24 17:20:37 +02:00
Harald Welte
89cf0b3db6
update debian changelog for 0.0.5
2011-05-10 17:30:56 +02:00
Harald Welte
8be06bc288
tests: update to libosmocore namespace prefix (osmo_)
2011-05-08 09:45:10 +02:00
Harald Welte
d35a3079df
namespace: use osmo_static_assert() instead of static_assert()
2011-05-08 09:43:49 +02:00
Harald Welte
2d97000f98
Update include paths with libosmocore 0.2.0
2011-03-23 18:30:22 +01:00
Holger Hans Peter Freyther
4cd6e62eb3
m2ua: Fix some defines found when moving this to Smalltalk
2011-02-25 11:49:04 +01:00
Holger Hans Peter Freyther
2bf19da405
m2ua: Allow to set a log area for DM2UA.
2011-01-22 22:59:39 +01:00
Holger Hans Peter Freyther
ecfd1d97c6
m2ua: Fix the padding calculation
...
This was found in interop testing. We have to add number of
bytes to fill up four that are not provided by the payload
but nothing if the rest is zero.
2011-01-18 17:38:14 +01:00
Holger Hans Peter Freyther
518780c203
m2ua: Okay... get the order of the arguments right
2011-01-14 19:47:44 +01:00
Holger Hans Peter Freyther
5dd47222d2
m2ua: Attempt to use a memcpy... maybe this is fixing a segfault
...
This is a bit of exploring why this could fail...
2011-01-14 19:21:01 +01:00
Holger Hans Peter Freyther
aa914ef127
m2ua: Pad the data properly, read over the padding properly
2011-01-14 18:33:44 +01:00
Holger Hans Peter Freyther
ecc75459f2
m2ua: Move the test into a new function.
2011-01-14 18:18:10 +01:00
Holger Hans Peter Freyther
9566027b07
m2ua: Implement to find a tag inside a message
2011-01-13 13:53:26 +01:00