The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Talk to the event loop. More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/protocol/eap/aka-sim/dictionary.h>
#include <freeradius-devel/server/module_rlm.h>
#include "attrs.h"
#include "sigtran.h"
Go to the source code of this file.
Macros | |
#define | LOG_PREFIX "sigtran" |
Functions | |
static void | _sigtran_pipe_error (UNUSED fr_event_list_t *el, int fd, UNUSED int flags, int fd_errno, UNUSED void *uctx) |
This should never happen. | |
static void | _sigtran_pipe_read (UNUSED fr_event_list_t *el, int fd, UNUSED int flags, UNUSED void *uctx) |
Drain any data we received. | |
static int | sigtran_client_do_ctrl_transaction (sigtran_transaction_t *txn) |
int | sigtran_client_do_transaction (int fd, sigtran_transaction_t *txn) |
int | sigtran_client_link_down (sigtran_conn_t const **conn) |
Destroy a connection. | |
int | sigtran_client_link_up (sigtran_conn_t const **out, sigtran_conn_conf_t const *conn_conf) |
Create a new connection. | |
static unlang_action_t | sigtran_client_map_resume (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
unlang_action_t | sigtran_client_map_send_auth_info (rlm_rcode_t *p_result, rlm_sigtran_t const *inst, request_t *request, sigtran_conn_t const *conn, int fd) |
Create a MAP_SEND_AUTH_INFO request. | |
static void | sigtran_client_signal (module_ctx_t const *mctx, UNUSED request_t *request, UNUSED fr_signal_t action) |
int | sigtran_client_thread_register (fr_event_list_t *el) |
Called by a new thread to register a new req_pipe. | |
int | sigtran_client_thread_unregister (fr_event_list_t *el, int req_pipe_fd) |
Signal that libosmo should unregister the other side of the pipe. | |
Variables | |
static pthread_mutex_t | ctrl_pipe_mutex = PTHREAD_MUTEX_INITIALIZER |
|
static |
|
static |
|
static |
int sigtran_client_do_transaction | ( | int | fd, |
sigtran_transaction_t * | txn | ||
) |
int sigtran_client_link_down | ( | sigtran_conn_t const ** | conn | ) |
int sigtran_client_link_up | ( | sigtran_conn_t const ** | out, |
sigtran_conn_conf_t const * | conn_conf | ||
) |
|
static |
unlang_action_t sigtran_client_map_send_auth_info | ( | rlm_rcode_t * | p_result, |
rlm_sigtran_t const * | inst, | ||
request_t * | request, | ||
sigtran_conn_t const * | conn, | ||
int | fd | ||
) |
Create a MAP_SEND_AUTH_INFO request.
p_result | Where to write the result. |
inst | of rlm_sigtran. |
request | The current request. |
conn | current connection. |
fd | file descriptor on which the transaction is done |
Definition at line 406 of file client.c.
|
static |
int sigtran_client_thread_register | ( | fr_event_list_t * | el | ) |
int sigtran_client_thread_unregister | ( | fr_event_list_t * | el, |
int | req_pipe_fd | ||
) |
Signal that libosmo should unregister the other side of the pipe.
[in] | el | the request pipe was registered to. |
[in] | req_pipe_fd | The rlm_sigtran side of the req_pipe. |
Definition at line 193 of file client.c.
|
static |