aboutsummaryrefslogtreecommitdiffstats
path: root/examples/lapd-over-datagram-network.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-11examples/lapd-over-datagram-network: Fix compiler warningHarald Welte1-1/+1
lapd-over-datagram-network.c:38:12: warning: ‘sapi’ defined but not used [-Wunused-variable] static int sapi = 63, tei = 0; ^~~~ Change-Id: If367deb0e0d7d5e031db2bd905179263d18703f0
2015-11-07teip is a pointer, not an intAlexander Huemer1-2/+2
2012-08-15src: shorter names for datagram socketsPablo Neira Ayuso1-12/+12
%s/_conn_/_/g %s/_conn//g %s/_server_/_tx_/g %s/_client_/_rx_/g %s/_SERVER_/_TX_/g %s/_CLIENT_/_RX_/g %s/_RECONFIG/_RECONF/g
2011-10-17datagram: add osmo_dgram_conn_recvPablo Neira Ayuso1-1/+11
We provide osmo_dgram_conn_recv(...) which allows you to take control on the message allocation and receival process. Instead of hiding this details inside the datagram infrastructure. Providing more control to clients of this code means more flexibility.
2011-10-14examples: update LAPD over datagram testsPablo Neira Ayuso1-46/+30
Now they can be used to generate a number of messages from the user and to measure the RTT of LAPD over datagram messages. Still, they need to be expanded to take the origin and remote IPs as argument from the command line, later.
2011-10-14datagram: change prototype of osmo_dgram_conn_set_read_cbPablo Neira Ayuso1-1/+1
This patch changes the prototype of osmo_dgram_conn_set_read_cb. Now it takes one callback to a generic struct osmo_dgram_conn instead of osmo_dgram_server_conn. This is useful in case that you want to reply to one message using the datagram socket (without this change is not possible).
2011-10-09datagram: add osmo_ prefix to all functionsPablo Neira Ayuso1-11/+11
Modify examples as well to use the new API.
2011-10-05add generic datagram socket infrastructure and examplesPablo Neira Ayuso1-0/+183
This patch adds new datagram socket infrastructure and it reworks the previous examples (now it's LAPD over datagram).