Holger Hans Peter Freyther
68b7e8bd60
sccp: Rename the SCCP file and delete the sccp/ directory..
2010-08-01 05:30:55 +08:00
Holger Hans Peter Freyther
ce7190d462
sccp: Add test case for GTI...
2010-08-01 04:57:41 +08:00
Holger Hans Peter Freyther
cee698ac9a
sccp: Remove SCCP address check, routing is a different topic..
...
We do not do any routing right now... we will accept everything
right now and that appears to be fine.
2010-08-01 04:57:41 +08:00
Holger Hans Peter Freyther
6b4c9f194f
sccp: Allow to have more data in the buffer than wanted by UDT..
2010-08-01 04:57:41 +08:00
Holger Hans Peter Freyther
7360a36ead
sccp: Copy out pointers to the GTI into the parsed structure..
2010-08-01 04:57:41 +08:00
Holger Hans Peter Freyther
9aa8c8bb35
sccp: Make it possible to have a POC inside the sockaddr_sccp.
...
Embed the POC, add the indicator, add the POC byte.
2010-08-01 04:57:41 +08:00
Holger Hans Peter Freyther
444d8d1234
sccp: Make it possible to put a GlobalTitle into the SCCP header.
2010-08-01 04:57:40 +08:00
Holger Hans Peter Freyther
f7630e662c
sccp_test: Add debug code to the test app to have extended debugging
2010-07-31 22:13:15 +08:00
Holger Hans Peter Freyther
aa45e92b0c
sccp_test: Compile the sccp.c directly into the binary
...
Do not link to the static library, but include the single
source file to always have an up-to-date binary without
dependencies between Makefiles.
2010-07-31 06:05:43 +08:00
Holger Hans Peter Freyther
ce7afe40e2
sccp_test: Change FAIL to abort immediately, remove code after a FAIL
...
Abort the test case in case of any failure.
2010-07-31 06:04:00 +08:00
Holger Hans Peter Freyther
7cab49b434
sccp: Rename the pkg-config file to osmo-sccp
2010-07-30 02:31:19 +08:00
Holger Hans Peter Freyther
6b6d5d9315
sccp: Ignore certain files.
2010-07-30 02:14:23 +08:00
Holger Hans Peter Freyther
17097d06b5
sccp: Add a new buildsystem for the OSMO SCCP library
2010-07-30 02:13:37 +08:00
Holger Hans Peter Freyther
e4cb3e039b
sccp: Adjust the code to only depend on libosmocore
...
* Introduce a method to set the value of the debug area to
use and default it to -1. Turn the DSCCP enum into a local
variable to make the log messages work.
* Remove usage of openbsc and libbsc.a
2010-07-30 02:12:02 +08:00
Holger Hans Peter Freyther
30cc096640
Merge branch 'on-waves/sccp'
2010-07-23 18:42:27 +08:00
Holger Hans Peter Freyther
e3c0d8bbf3
sccp: u_int32_t -> uint32_t
2010-07-23 18:40:10 +08:00
Holger Hans Peter Freyther
be76a717e0
sccp: u_int16_t -> uint16_t
2010-07-23 18:39:39 +08:00
Holger Hans Peter Freyther
acd31a3ac4
sccp: u_int8_t -> uint8_t
2010-07-23 18:39:17 +08:00
Harald Welte
08b7545c78
add more executables to .gitignore
2010-06-20 10:44:54 +02:00
Holger Hans Peter Freyther
8f473d20bf
Merge branch 'on-waves/sccp'
2010-06-15 17:06:45 +08:00
Holger Hans Peter Freyther
4da58e06ca
[sccp] Add method to create a dt1 packet.
2010-05-17 04:08:57 +08:00
Holger Hans Peter Freyther
29c30a0c15
[sccp] Create a method to create RLSD messages.
2010-05-17 04:08:50 +08:00
Holger Hans Peter Freyther
72bec50b8e
[sccp] Create a SCCP CC creation routine.
2010-05-17 04:08:42 +08:00
Holger Hans Peter Freyther
38cc0e6c4d
[sccp] Make it optional to send data on a SCCP Connection Refuse
...
This can be used to send a Location Updating Reject down to the
BSC when it is clear that a subscriber is not allowed.
2010-05-15 05:35:48 +08:00
Holger Hans Peter Freyther
bfa3c776af
[sccp] Export function to create SCCP Refuse message.
2010-05-15 05:35:20 +08:00
Holger Hans Peter Freyther
8e06ff22c8
Merge branch 'master' into on-waves/mgcp
2010-05-14 02:42:15 +08:00
Holger Hans Peter Freyther
6ee6b6dee2
Merge branch 'on-waves/sccp'
2010-04-25 23:07:24 +08:00
Holger Hans Peter Freyther
a35712a940
[sccp] Move from DEBUGP to LOGP in sccp.c
2010-04-25 23:05:00 +08:00
Holger Hans Peter Freyther
c459c0491a
[sccp] Parse the error message and add a unit test for it.
2010-04-25 23:04:38 +08:00
Holger Hans Peter Freyther
6f883cb645
Merge branch 'master' into on-waves/mgcp
2010-04-07 23:03:27 +02:00
Holger Hans Peter Freyther
bd07f929ca
Merge branch 'on-waves/sccp'
2010-04-07 22:54:12 +02:00
Holger Hans Peter Freyther
902e32e051
[sccp] Add a force_free method for connections
...
E.g. when the underlying connection transport medium is gone
one needs to force to close SCCP connections, add this helper.
It will remove the connection from the list of connections and
it will free the data.
2010-04-05 22:00:24 +02:00
Holger Hans Peter Freyther
a2597e34bc
Merge remote branch 'origin/master' into on-waves/mgcp
2010-03-30 15:35:26 +02:00
Holger Hans Peter Freyther
a9e39c3264
sccp: Change the ownership of the msgb passed to the callback
...
Instead of deleting the msgb within the SCCP library the implementor
of the write callback needs to free it. This is required for non
blocking io with the server.
2010-03-26 05:44:21 +01:00
Harald Welte
e929c0c843
automatically include program version and print it from vty and --version
2010-03-23 00:09:32 +08:00
Holger Hans Peter Freyther
53279db6fc
Merge remote branch 'origin/on-waves/sccp'
2010-02-26 20:21:21 +01:00
Holger Hans Peter Freyther
be49ea0601
Merge remote branch 'origin/master' into on-waves/sccp
2010-02-26 20:18:24 +01:00
Holger Hans Peter Freyther
1c9c378e10
Merge remote branch 'origin/master' into on-waves/mgcp
...
Conflicts:
openbsc/include/openbsc/Makefile.am
openbsc/src/Makefile.am
2010-02-26 20:16:45 +01:00
Holger Hans Peter Freyther
5d074c7ee2
[misc] Add LIBOSMOCORE_CFLAGS to the includes
2010-02-26 20:10:58 +01:00
Holger Hans Peter Freyther
d8879f86ae
[sccp] Implement parsing the rather easy IT messages.
2010-02-26 19:26:35 +01:00
Harald Welte
6886ad5f66
finish openbsc / libosmocore separation
...
* use pkg-config from openbsc to find header and library
* move sms and timer tests to libosmocore itself
* ensure "make distcheck" works on both packages
2010-02-20 17:29:27 +01:00
Harald Welte
88d982b48c
split 'libosmocore' from openbsc codebase
...
This library is intended to collect all generic/common funcitionality
of all Osmocom.org projects, including OpenBSC but also OsmocomBB
The library currently includes the following modules:
bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer,
tlv_parse, linuxlist
msgb allocation error debugging had to be temporarily disabled as it depends on
'debug.c' functionality which at the moment remains in OpenBSC
2010-02-20 16:27:23 +01:00
Holger Hans Peter Freyther
dc095c5934
Merge branch 'on-waves/sccp'
2010-02-20 00:38:20 +01:00
Holger Hans Peter Freyther
2b68a7393d
[sccp] Use msgb->l2h instead of msgb->data for CR
...
Using msgb->data only works as long as msgb->data == msgb->l2h.. In
the case of receiving a MSU unit from a E1 link, or even receiving
the IPA header we will have some non SCCP data at msgb->data and then
cast garbage to what we think is making sense..
Use msgb->l2h and everything is fine.
2010-02-20 00:36:03 +01:00
Holger Hans Peter Freyther
dcf5d78525
Merge branch 'on-waves/sccp'
2010-02-14 19:27:52 +01:00
Holger Hans Peter Freyther
f1aec7d448
[sccp] Make the bitfields work on big endian machines too
...
* Use the endian.h to fogure out for which endianess we are
building and then use the bitfields in reverse order
2010-02-14 19:27:16 +01:00
Holger Hans Peter Freyther
85a95763b7
[sccp] Set the data_len when parsing UDT messages as well
...
For UDT the msgb_l3len can be safely used but it is better
to set it to data_len for everyone..
2010-02-12 23:08:21 +01:00
Holger Hans Peter Freyther
756aaadf5b
Merge branch 'on-waves/sccp'
2010-02-12 22:52:12 +01:00
Holger Hans Peter Freyther
63cd135faa
[sccp] Make the file includable outside of OpenBSC
2010-02-12 22:51:24 +01:00
Holger Hans Peter Freyther
9ba1c6253a
[sccp] Install the static sccp library and the headers
2010-02-12 22:42:13 +01:00