Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-01 | add msgb_l1() and msgb_l1len() inline functions | Harald Welte | 1 | -0/+6 | |
2010-03-01 | value_string functions and some RSL related stuff has moved to libosmocore | Harald Welte | 3 | -258/+6 | |
2010-03-01 | Import value_string utilities and some RSL stuff from OpenBSC | Harald Welte | 6 | -2/+308 | |
2010-03-01 | msgb: add msgb->l1h member | Harald Welte | 1 | -0/+2 | |
2010-02-26 | [write_queue] Add a generic write queue class | Holger Hans Peter Freyther | 4 | -2/+120 | |
The write queue can be a dropin replacement for the bsc_fd. It is featuring two callbacks. One for ready read and one for ready write. Whenever there is a message in the queue the write_queue will set the BSC_FD_WRITE flag and then call the write callback. It will make sure to delete the msgb after the write function has been called. This class is intended to be be used in the osmocom, layer2, bsc_msc_ip, bsc_hack and other applications. | |||||
2010-02-26 | Merge remote branch 'origin/on-waves/sccp' | Holger Hans Peter Freyther | 2 | -0/+123 | |
2010-02-26 | Merge remote branch 'origin/on-waves/mgcp' | Holger Hans Peter Freyther | 8 | -611/+911 | |
2010-02-26 | Merge remote branch 'origin/master' into on-waves/sccp | Holger Hans Peter Freyther | 108 | -6810/+261 | |
2010-02-26 | Merge remote branch 'origin/master' into on-waves/mgcp | Holger Hans Peter Freyther | 112 | -7032/+677 | |
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am | |||||
2010-02-26 | [misc] Add LIBOSMOCORE_CFLAGS to the includes | Holger Hans Peter Freyther | 5 | -3/+5 | |
2010-02-26 | [timer] Fix compile warning of the timer test | Holger Hans Peter Freyther | 1 | -2/+3 | |
2010-02-26 | [sccp] Implement parsing the rather easy IT messages. | Holger Hans Peter Freyther | 2 | -0/+123 | |
2010-02-26 | [mgcp] Patch the rtp payload depending on the direction. | Holger Hans Peter Freyther | 1 | -0/+36 | |
The RTP header code is taken from the rtp_proxy, we will need to figure out how to unite these properly in the long run. | |||||
2010-02-26 | [mgcp] Keep track of the local and remote RTP payload type | Holger Hans Peter Freyther | 2 | -2/+11 | |
Keep track of which RTP payload type to use for which direction. | |||||
2010-02-26 | [mgcp] Introduce a policy CB for the MGCP protocol | Holger Hans Peter Freyther | 2 | -0/+68 | |
The are three policies. Accept, Reject and Defer. This will allow to handle network connections and such from the policy callback instead of directly acting on it. | |||||
2010-02-26 | [mgcp] Fix two bugs in the protocol handling | Holger Hans Peter Freyther | 1 | -1/+3 | |
In case of a wrongly formatted AUEP, CRCX, DLCX, MDCX the transaction id pointer was a dangling pointer... Initialize the transaction id to a static string.. Also fix a off by one bug. We want to extract four elements from the MGCP message and not only 3... So a short AUEP message made it us read too many things. | |||||
2010-02-26 | [mgcp] Switch logging from notice to debug | Holger Hans Peter Freyther | 1 | -3/+3 | |
2010-02-26 | [mgcp] Add a method to free the endpoint. | Holger Hans Peter Freyther | 2 | -12/+26 | |
2010-02-26 | [rtp] Describe the struct in a way that it will work for Big Endian too | Holger Hans Peter Freyther | 1 | -0/+10 | |
Play with the right bits on PPC. | |||||
2010-02-26 | [mgcp] Print the rtp_port number, do not assume it was already assigned. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-02-24 | msgb.c: Style cleanup in initialization | Sylvain Munaut | 1 | -13/+4 | |
Don't assign the same var twice & init all from the same source. | |||||
2010-02-24 | fix msgb_talroom() calculation | Harald Welte | 1 | -1/+1 | |
2010-02-24 | Merge remote branch 'origin/master' | Harald Welte | 2 | -1/+19 | |
2010-02-22 | [mgcp] Move the network bits to a separate file... | Holger Hans Peter Freyther | 3 | -186/+224 | |
This change separates the protocol from the actual network code (bind, forward data). This will allow to more easily hook up the RTP code from OpenBSC and to not use local sockets at all. | |||||
2010-02-22 | [mgcp] Make the creation of the mgcp message public. | Holger Hans Peter Freyther | 2 | -3/+4 | |
2010-02-22 | [mgcp] Cleanup the code. send_ was a misleading name | Holger Hans Peter Freyther | 1 | -22/+22 | |
The send_ methods stopped to send the MGCP messages but was changed to actually just create a msgb_ that can be sent to a mediagateway. Rename the methods now. | |||||
2010-02-22 | [mgcp] Move away from global variables and split out VTY code | Holger Hans Peter Freyther | 7 | -417/+547 | |
In separation of using the MGCP parsing in another context, refactor the code to operate on a struct mgcp_config, split out the vty code from the mgcp_protocol.c, and move the callbacks into the mgcp code. There should be no functional changes. | |||||
2010-02-21 | add msgb and tlv support bits required for openbsc gprs branch | Harald Welte | 2 | -1/+19 | |
2010-02-21 | add GPL to project source | Harald Welte | 1 | -0/+339 | |
2010-02-20 | remove libosmocore from openbsc | Harald Welte | 40 | -6905/+0 | |
From now on, you will have to obtain, build and install libosmocore before being able to build openbsc. Sorry for that. But I hope it's a small price to pay for having no code duplication with our work on the phone side GSM stack! | |||||
2010-02-20 | fix select.c build (config.h) | Harald Welte | 1 | -0/+2 | |
2010-02-20 | fix config.h directory | Harald Welte | 1 | -1/+1 | |
2010-02-20 | add missing automake / autoconf files | Harald Welte | 9 | -0/+91 | |
2010-02-20 | update gitignore file | Harald Welte | 1 | -2/+1 | |
2010-02-20 | update .gitignore file | Harald Welte | 1 | -2/+1 | |
2010-02-20 | add missing Makefile.am in include/osmocore/protocol directory | Harald Welte | 1 | -0/+3 | |
2010-02-20 | intial checkin of the libosmocore project | Harald Welte | 31 | -0/+6815 | |
2010-02-20 | make sure libosmocom builds when cross-compiling for ARM without OS | Harald Welte | 4 | -0/+15 | |
This is required to build the library and be able to use it from within OsmocomBB. | |||||
2010-02-20 | u_int8_t -> uint8_t | Harald Welte | 1 | -4/+4 | |
2010-02-20 | convert from u_int*_t to u_int*_t (stdint.h format) | Harald Welte | 5 | -126/+132 | |
2010-02-20 | change from u_int* to uint* (stdint.h) | Harald Welte | 10 | -97/+99 | |
2010-02-20 | move GSM protocol definitions to include/osmocore/protocol/* | Harald Welte | 12 | -2185/+2262 | |
2010-02-20 | add gsmtap.h | Harald Welte | 2 | -1/+64 | |
2010-02-20 | add .gitignore to libosmocom | Harald Welte | 1 | -0/+23 | |
2010-02-20 | finish openbsc / libosmocore separation | Harald Welte | 22 | -59/+49 | |
* 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 | split 'libosmocore' from openbsc codebase | Harald Welte | 96 | -201/+289 | |
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 | Merge branch 'on-waves/sccp' | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-02-20 | [sccp] Use msgb->l2h instead of msgb->data for CR | Holger Hans Peter Freyther | 1 | -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-19 | ipaccess.c: Fix some resource leaks in error conditions. | Holger Hans Peter Freyther | 1 | -0/+13 | |
* Close the socket when the bind is failing. * Close the socket when the listen is failing. * Close the socket then the bsc_register_fd is failing. * Return an error when the socket call is not returning a socket. | |||||
2010-02-16 | Install gsm_04_08.h and required headers into a openbsc/ | Holger Hans Peter Freyther | 2 | -1/+4 | |