aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ipa-stream-client.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-01ipa-stream-{client,server}: Add missing #include <sys/socket.h>Harald Welte1-0/+1
This lead to compiler warnings on FreeBSD, as setsockopt() is undefined. Change-Id: Ie0ee3e48adfd0cd252703ec020cef28cf76ca223
2015-02-25Fix the compilation on FreeBSD.Nikola Kolev1-0/+2
2012-08-19ipa: add osmo_ipa_process_msg and remove osmo_ipa_recv_msgPablo Neira Ayuso1-2/+5
This patch removes osmo_ipa_recv_msg, it performs two syscall invocations and it's stream generic. Now we use the specific receival function we want to use (no matter if stream or datagram based) and then we call osmo_ipa_process_msg to check that the IPA message correct.
2012-08-15src: shorter stream function namesPablo Neira Ayuso1-14/+14
%s/_client_conn_/_cli_/g %s/_server_conn_/_srv_/g %s/_client_/cli/g %s/server/srv/g %s/RECONFIG/RECONF/g %s/SERVER/SRV/g %s/CLIENT/CLI/g
2011-10-17examples: disable Nagle in ipa-stream-*.cPablo Neira Ayuso1-0/+10
To emulate how openBSC behaves.
2011-10-17ipa: initial addition of helper functions and examplesPablo Neira Ayuso1-0/+185
This patch adds IPA helper function that can be use on top of stream sockets. The current API is just a copy and paste from libosmo-abis, it will change in follow up patches to improve it.