aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09Implement GSMTAP log targetHarald Welte1-1/+1
This target wraps the to-be-logged string (With metadata) into a GSMTAP packet and sends it to the configured destination address. Change-Id: I9a7e72b8c9c6f6f2d76d1ea2332dcdee12394625
2016-09-22add osmo_gettimeofday as a shim around gettimeofdayNeels Hofmeyr1-1/+1
This allows feeding a custom time for unit tests by overriding osmo_gettimeofday. Change-Id: Ic7a81a6eb51f27fe452962b91f2eae2070d87089
2016-06-16Add Finite State Machine abstraction codeHarald Welte1-1/+1
This code is supposed to formalize some of the state machine handling in Osmocom code. Change-Id: I0b0965a912598c1f6b84042a99fea9d522642466 Reviewed-on: https://gerrit.osmocom.org/163 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org>
2016-02-18Add T4 bit map compression routinesMax1-1/+1
Add bit map encoder and decoder functions: decoder is fully functional while encoder is good enough for testing - no backtracking to find the best possible compression is implemented. If somebody is willing to implement MS side of EDGE than this has to be expanded. Add corresponding tests. N. B: the encoding is implemented according to ETSI TS 44.060 which is slightly different from T4 used for fax according to CCITT G31D (RFC 804). Ticket: OW#2407 Sponsored-by: On-Waves ehf Signed-off-by: Max <msuraev@sysmocom.de>
2015-12-23Add osmo_prim_op_names[] symbol and _SAP_SS7_BASE defineHarald Welte1-1/+1
2015-12-05remove our internal copy of talloc, use system libtallocHarald Welte1-11/+5
Shipping our own private copy of talloc was a good idea in 2008, when it was not readily available on most target platforms. Today, the situation is quite different, as it is a standard library on major Linux distributions.
2015-11-26stats: Move statsd related code into a separate fileJacob Erlbeck1-1/+1
This commit moves the stats specific code parts into stats_statsd.c while keeping the generic parts in stats.c. The code in stats.c no longer contains references to statsd symbols. Note that the VTY code still needs to know about every stats reporter backend. Sponsored-by: On-Waves ehf
2015-10-29stats: Add the reporting frameworkJacob Erlbeck1-1/+1
This commit provides the stats reporting framework that can manage several types of measurement reporters. Initially support for rate_ctr and the statsd protocol is included. Sponsored-by: On-Waves ehf
2015-10-28stats: Add stat_item for value monitoringJacob Erlbeck1-1/+1
This commit adds instrumentation function to gather measurement and statistical values similar to counter groups. Multiple values can be stored per item, which can be retrieved in FIFO order. Getting values from the item does not modify its state to allow for multiple independant backends (e.g. VTY and statd). When a new value is set, the oldest value gets silently overwritten. Lost values are skipped when getting values from the item. Sponsored-by: On-Waves ehf
2015-01-18Prepare a new libosmocore release0.8.0Holger Hans Peter Freyther1-1/+1
2014-10-03build: remove unused all_includes and use AM_CPPFLAGSJan Engelhardt1-1/+2
Preprocessor flags are best placed in AM_CPPFLAGS. Remove use of the unused all_includes variable, which is never set.
2014-08-25logging: Add ability to save/print current log filtersHarald Welte1-1/+1
This enables the persistent configuration of let's say 'log filter imsi 012345678' for a given log file in the config file.
2014-08-18osmocore: Add function osmo_macaddr_parse() to parse ETH MAC addressHarald Welte1-1/+2
2014-04-17backtrace: Speculative fix for FreeBSD10.0 and execinfo.hHolger Hans Peter Freyther1-1/+2
FreeBSD 10.0 ships an execinfo.h but one needs to link to an additional library for the backtrace functions. Check if there is a backtrace symbol in libexecinfo and if so link to that library.
2013-03-03cygwin: Link many libraries with -no-undefined to create a dllHolger Hans Peter Freyther1-2/+2
Only the Gb library relies on having undefined references to a symbol that needs to be provided by the host application. For all other libraries we can link with -no-undefined.
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-2/+2
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
2013-02-27Revert "Added a ring buffer log target to store the last N log messages."Holger Hans Peter Freyther1-2/+2
I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad.
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-2/+2
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
2012-12-11build: Don't use the deprecated INCLUDES in the various Makefile.amSylvain Munaut1-2/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-06-30build: use LT_INIT(pic-only) instead of forcing -fPIC.0.5.2Diego Elio Pettenò1-1/+1
This actually allows for the user to override the decision and at the same time supports compilers that might not be able to use -fPIC at all. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-06-30build: avoid multi-level recursion for src/ directory.Diego Elio Pettenò1-2/+0
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-06-30build: use BUILT_SOURCES for the generated source files.Diego Elio Pettenò1-0/+2
This avoids possible race conditions on heavily multi-core systems. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-06-30build: use the standard AM_V_GEN definition for output.Diego Elio Pettenò1-2/+1
This actually allows for the command to be printed if using `make V=1` Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-06-17libosmogb: move files to proper location and fix build0.5.0Harald Welte1-1/+1
2011-11-24libosmocore: Update LIBVERSION because of ABI chaangesSylvain Munaut1-1/+1
The recent convolutional code changes break the ABI. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-09freebsd: Fixes for the compilation of libosmocore on FreeBSDHolger Hans Peter Freyther1-1/+1
alloca.h is not available on FreeBSD, use the default autoconf function to check for it, there is a complete list[1] of what to do for using alloca but let us see how far we get with this test. Include netinet/in.h for the IPv4 and IPv6 socket address. Check for dlopen in libraries and use this instead of linking -dl. [1] http://www.gnu.org/s/hello/manual/autoconf/Particular-Functions.html
2011-10-21core: Fix include path to use top_builddir as well for generated headersSylvain Munaut1-1/+1
With the new generated headers for the CRC code, we need to include the builddir as well in case we're building out of tree. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-17bump major library version / breaking the ABI with the rb_tree timersHarald Welte1-1/+1
2011-10-17add rb-tree implementation to libosmocorePablo Neira Ayuso1-1/+1
This patch adds red black trees implementation to libosmocore. This data structure is very useful to search for elements in ordered sets in O(log n) instead of O(n) that lists provide. The first client of this code will be one follow up patch that implements rbtree-based timer scheduler.
2011-10-10build: resolve link failure when --disable-talloc is usedJan Engelhardt1-0/+2
2011-10-10update LIBVERSION to reflect new API additions0.3.10Harald Welte1-1/+1
2011-09-16core: Add generic CRC functions (templates expended to 8 16 32 64 bits)Sylvain Munaut1-1/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02core/serial: Add utilities to deal with serial portsSylvain Munaut1-0/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-06-26merge process.[ch] with application.[ch]Harald Welte1-1/+1
2011-05-22gsmtap: rework GSMTAP API to be more future-proof0.3.1Harald Welte1-2/+2
* use write_queue where applicable * provide functions that work on raw FD and those with osmo_fd * add support for multiple gsmtap instances (no global variables)
2011-05-12app: Introduce some routines to help with application startupHolger Hans Peter Freyther1-2/+2
The plan is to collect structs and routines for application setup and remove many copies of the boilerplate code we have right now. This starts with routines to ignore certain signals and the stderr init code. Increment the age of the library because a new interface was added.
2011-05-08libosmocore: bump library interface version to '1' for new osmo_ namesHarald Welte1-2/+4
2011-04-26core/conv: Add some generic code for convolutional coding/decodingSylvain Munaut1-1/+1
Far from perfect but suits our need thus far. The viterbi with softbit input is quite cpu-intensive. Since most received bursts are often mostly error free, you could use a less cpu intensive algorithm (Fano ?) and with hard bit input. Then only switch to viterbi soft bit input if the channel is bad enough to justify it. Soft output is not implemented as its usefulness for the block coding is limited. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-03-23This patch moves the GSM-specific functions to the new libraryPablo Neira Ayuso1-7/+7
libosmogsm which is provided by libosmocore. I have also moved generate_backtrace() to backtrace.c instead of gsm_utils.c, otherwise the timer and msgfile tests depend on libosmogsm. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-02-17LOGGING: Add syslog log targetHarald Welte1-2/+3
2011-01-19[BITS] introduce new packed/unpacked bit conversion routinesHarald Welte1-1/+1
2010-10-15codec: Add bit ordering tables from specs for HR,FR,EFR & AMRSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-08msgfile: Add a file parser for a simple file formatHolger Hans Peter Freyther1-0/+4
This file format will be used to store per country code, per network code messages. This will be used for various things ranging from access control, to messages...
2010-09-30gsm0480: Add USSD format functions to libosmocore0.1.22Holger Hans Peter Freyther1-1/+1
These routines come from OpenBSC, the msgb_wrap_* functions belong to Mike Haben, the rest is mine. The msgb allocation is compatible to the GSM48 allocation in OpenBSC.
2010-09-11vty: Link osmovty to osmocore as it is using the symbolsHolger Hans Peter Freyther1-1/+1
Use SUBDIRS to build src first and the src/vty. We will need to find the right way add the dependencies.
2010-08-25Add helper function 'osmo_daemonize()' to convert process into daemonHarald Welte1-1/+1
2010-07-25core: Add some generic panic handlingSylvain Munaut1-1/+1
This also includes an option for a minimal 'infinite loop' type panic that could be required for embedded target that don't have abort() or fprintf() Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-15Added crc16 from linux kernel.Ingo Albrecht1-1/+1
2010-06-30Add support for plugins (and specifically GPRS encryption plugins)Harald Welte1-1/+7
2010-06-29Add gsmtap utility functions to libosmocore0.1.13Harald Welte1-1/+1
This is imported from OsmocomBB/Layer23