![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/io/channel.h>#include <freeradius-devel/io/control.h>#include <freeradius-devel/util/debug.h>#include <freeradius-devel/util/syserror.h>#include <freeradius-devel/util/talloc.h>#include <pthread.h>#include <sys/event.h>
Include dependency graph for channel_test.c:Go to the source code of this file.
Macros | |
| #define | MAX_CONTROL_PLANE (1024) |
| #define | MAX_KEVENTS (10) |
| #define | MAX_MESSAGES (2048) |
| #define | MPRINT1 if (debug_lvl) printf |
| #define | MPRINT2 if (debug_lvl > 1) printf |
Typedefs | |
| typedef struct request_s | request_t |
Functions | |
| static void * | channel_master (void *arg) |
| static void * | channel_worker (void *arg) |
| int | main (int argc, char *argv[]) |
| request_t * | request_alloc (UNUSED TALLOC_CTX *ctx, UNUSED request_init_args_t const *args) |
| void | request_verify (UNUSED char const *file, UNUSED int line, UNUSED request_t const *request) |
| static NEVER_RETURNS void | usage (void) |
Variables | |
| static fr_atomic_queue_t * | aq_master |
| static fr_atomic_queue_t * | aq_worker |
| static fr_control_t * | control_master |
| static fr_control_t * | control_worker |
| static int | debug_lvl = 0 |
| static int | kq_master |
| static int | kq_worker |
| static int | max_control_plane = 0 |
| static int | max_messages = 10 |
| static int | max_outstanding = 1 |
| static bool | touch_memory = false |
| #define MAX_CONTROL_PLANE (1024) |
Definition at line 39 of file channel_test.c.
| #define MAX_KEVENTS (10) |
Definition at line 40 of file channel_test.c.
| #define MAX_MESSAGES (2048) |
Definition at line 38 of file channel_test.c.
Definition at line 42 of file channel_test.c.
Definition at line 43 of file channel_test.c.
Definition at line 55 of file channel_test.c.
|
static |
Definition at line 80 of file channel_test.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 308 of file channel_test.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| request_t * request_alloc | ( | UNUSED TALLOC_CTX * | ctx, |
| UNUSED request_init_args_t const * | args | ||
| ) |
Definition at line 57 of file channel_test.c.
Definition at line 62 of file channel_test.c.
|
static |
|
static |
Definition at line 47 of file channel_test.c.
|
static |
Definition at line 47 of file channel_test.c.
|
static |
Definition at line 48 of file channel_test.c.
|
static |
Definition at line 48 of file channel_test.c.
|
static |
Definition at line 45 of file channel_test.c.
|
static |
Definition at line 46 of file channel_test.c.
|
static |
Definition at line 46 of file channel_test.c.
|
static |
Definition at line 50 of file channel_test.c.
|
static |
Definition at line 49 of file channel_test.c.
|
static |
Definition at line 51 of file channel_test.c.
|
static |
Definition at line 52 of file channel_test.c.
1.9.8