aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsmtap_util.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-05Update doxygen annotations in libosmocoreHarald Welte1-1/+20
This adds and improves doxygen API descriptions all over libosmocore, reducing the 'white spots' that don't have any documentation.
2013-02-15misc: Doxygen tweaks: fixed some typos and minor errorsKaterina Barone-Adesi1-3/+3
Doxygen generates quite a lot of warnings on libosmocore. Some of them are obvious typos - this patch aims to fix such low-hanging fruit.
2013-01-11add some missing doxygen annotation for libosmocore functionsHarald Welte1-1/+14
2011-09-26gsmtap: Fix doxygen doc for the recent additionsSylvain Munaut1-2/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-26gsmtap: Add a _ex version of gsmtap_{makemsg,send} to specify content typeSylvain Munaut1-4/+21
From: iZsh <izsh@fail0verflow.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-08-17doxygen: Add documentation for gsmtap_util.[ch]Harald Welte1-6/+51
2011-06-13socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flagsPablo Neira Ayuso1-2/+4
This extends the socket infrastructure in libosmocore to allow to create non-blocking sockets. Basically, it replaces the connect0_bind1 parameter by one flags parameter.
2011-05-29gsmtap_util: Remove msg_free from the wq call backSylvain Munaut1-3/+0
write_queue already frees the message after the callback is called. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-22gsmtap: deal with apps that call gsmtap_send*() with NULL gsmtap_instHarald Welte1-0/+6
2011-05-22GSMTAP/socket code: Check for sys/socket.h and conditionally compileHarald Welte1-6/+8
2011-05-22gsmtap: rework GSMTAP API to be more future-proof0.3.1Harald Welte1-86/+106
* 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-07select: use namespace prefix osmo_fd* and osmo_select*Pablo Neira Ayuso1-6/+6
Summary of changes: s/struct bsc_fd/struct osmo_fd/g s/bsc_register_fd/osmo_fd_register/g s/bsc_unregister_fd/osmo_fd_unregister/g s/bsc_select_main/osmo_select_main/g
2011-05-04GSMTAP: add function to create a 'sink' for gsmtap packetsHarald Welte1-2/+55
This can be helpful where we send GSMTAP messages to the loopback device (localhost, 127.0.0.1) from where the kernel would then send ICMP reject packets as nobody is listening on that port.
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-7/+7
This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-06-29[gsmtap] add new gsmtap_makemsg() functionHarald Welte1-8/+23
This generates a gsmtap message without actually enqueueing to a bsc_select style queue.
2010-06-29Add gsmtap utility functions to libosmocore0.1.13Harald Welte1-0/+185
This is imported from OsmocomBB/Layer23