aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/sccp
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17[sccp] Add method to create a dt1 packet.Holger Hans Peter Freyther1-12/+27
2010-05-17[sccp] Create a method to create RLSD messages.Holger Hans Peter Freyther1-3/+21
2010-05-17[sccp] Create a SCCP CC creation routine.Holger Hans Peter Freyther1-8/+23
2010-05-15[sccp] Make it optional to send data on a SCCP Connection RefuseHolger Hans Peter Freyther1-2/+9
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[sccp] Export function to create SCCP Refuse message.Holger Hans Peter Freyther1-1/+14
2010-04-25[sccp] Move from DEBUGP to LOGP in sccp.cHolger Hans Peter Freyther1-52/+54
2010-04-25[sccp] Parse the error message and add a unit test for it.Holger Hans Peter Freyther1-0/+20
2010-04-05[sccp] Add a force_free method for connectionsHolger Hans Peter Freyther1-0/+11
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-03-26sccp: Change the ownership of the msgb passed to the callbackHolger Hans Peter Freyther1-42/+20
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-02-26Merge remote branch 'origin/master' into on-waves/sccpHolger Hans Peter Freyther1-3/+4
2010-02-26[sccp] Implement parsing the rather easy IT messages.Holger Hans Peter Freyther1-0/+23
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-2/+2
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-20Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-1/+1
2010-02-20[sccp] Use msgb->l2h instead of msgb->data for CRHolger Hans Peter Freyther1-1/+1
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-14Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-0/+1
2010-02-12[sccp] Set the data_len when parsing UDT messages as wellHolger Hans Peter Freyther1-0/+1
For UDT the msgb_l3len can be safely used but it is better to set it to data_len for everyone..
2010-02-12Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-215/+365
2010-02-12[sccp] Make the file includable outside of OpenBSCHolger Hans Peter Freyther1-3/+4
2010-02-03[sccp] Slightly improve the log messageHolger Hans Peter Freyther1-1/+1
2010-02-03[sccp] Refer to the right Company in the Copyright/Copyleft lineHolger Hans Peter Freyther1-1/+1
Use On-Waves instead of the name I made up from the domain name.
2010-01-29[sccp] Implement sccp_parse_header to be used by the NAT code.Holger Hans Peter Freyther1-0/+35
2010-01-29[sccp] Split Connection DT1 into two partsHolger Hans Peter Freyther1-38/+46
This is the last of supported messages to be split into a parse and handle routine. Now all parse routines can be used by the NAT.
2010-01-29[sccp] Split Connection Release Complete into two partsHolger Hans Peter Freyther1-15/+22
2010-01-29[sccp] Split Connection Confirm handling into two partsHolger Hans Peter Freyther1-27/+40
2010-01-29[sccp] Split Connection Refused into two partsHolger Hans Peter Freyther1-25/+39
2010-01-29[sccp] Split Connection Released into two partsHolger Hans Peter Freyther1-24/+38
Split the Connection Released into header parsing and into acting on the parsed result. This is part of the NAT work.
2010-01-29[sccp] Separate connection parsing and policy for connection requestHolger Hans Peter Freyther1-48/+60
The same concept as with the previous patch, make the reject method work on the source local reference instead of passing it the header.
2010-01-29[sccp] Move the UDT parsing to a new methodHolger Hans Peter Freyther1-50/+89
Separate SCCP UDT parsing and handling into two methods. This way the parsing can be reused by the BSC NAT.
2010-01-29[sccp] Add a utility for the nat..Holger Hans Peter Freyther1-0/+8
Add a small helper to determine the type of a message
2009-11-20[sccp] Implement sending the Inactivity Test on a connection..Holger Hans Peter Freyther1-0/+42
Currently this will send a dummy inactivity test message, there is currently no parsing or API to receive the messages. The sequencing and credit entries are empty as sequencing is currently not used at all. The test is currently limited to send the message and see if the application is crashing or not.
2009-11-20[sccp] Implement parts of ITU SCCP for use in the A-InterfaceHolger Hans Peter Freyther1-0/+1129
include/sccp/sccp_types.h contain Q.713 and GSM definitions include/sccp/sccp.h is the application interface resembling the esentials of the UNIX socket interface. src/sccp.c is the actual implementation of SCCP featuring connection and UDT1 support. tests/sccp/sccp.c is testing connection creation and formating of the SCCP messages used by the A-interface. And it contains a simple fuzzing test to test the robustnes of the implementation.