Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
%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
|
|
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|
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.
|
|
We allow to change the callback and data pointers in runtime safely
without the need to reconfig.
|
|
This removes spamming message that is currently displayed with
LOGL_NOTICE loglevel.
|
|
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).
|
|
This patch allows you to call dgram_*_open(..) as many times as
you want to trigger reconfigurations.
|
|
Modify examples as well to use the new API.
|
|
This patch adds new datagram socket infrastructure and it reworks
the previous examples (now it's LAPD over datagram).
|