#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
Go to the source code of this file.
Classes | |
struct | thread_data |
Macros | |
#define | CONTENT_SIZE 13 |
#define | CONTENT_SIZE_MAX 32 |
#define | is_verbose 0 |
#define | QT_CLIENTS 3 |
#define | QT_WORKERS 3 |
#define | ROUTING_ID_SIZE 10 |
#define | ROUTING_ID_SIZE_MAX 32 |
#define | TEST_SLEEP_MS 500 |
Functions | |
static void | client_task (void *db_) |
int | main (void) |
uint64_t | read_stat_value (void *proxy_control) |
void | server_task (void *) |
static void | server_worker (void *) |
void | setUp () |
uint64_t | statistics (void *proxy_control, const char *runctx) |
void | steer (void *proxy_control, const char *command, const char *runctx) |
void | test_proxy_steerable () |
Variables | |
void * | control_context = NULL |
void * | g_clients_pkts_out = NULL |
int | g_proxy_control_socktype |
void * | g_workers_pkts_out = NULL |
const char * | proxy_control_address = "inproc://proxy_control" |
#define CONTENT_SIZE 13 |
Definition at line 10 of file test_proxy_steerable.cpp.
#define CONTENT_SIZE_MAX 32 |
Definition at line 11 of file test_proxy_steerable.cpp.
#define is_verbose 0 |
Definition at line 16 of file test_proxy_steerable.cpp.
#define QT_CLIENTS 3 |
Definition at line 15 of file test_proxy_steerable.cpp.
#define QT_WORKERS 3 |
Definition at line 14 of file test_proxy_steerable.cpp.
#define ROUTING_ID_SIZE 10 |
Definition at line 12 of file test_proxy_steerable.cpp.
#define ROUTING_ID_SIZE_MAX 32 |
Definition at line 13 of file test_proxy_steerable.cpp.
#define TEST_SLEEP_MS 500 |
Definition at line 17 of file test_proxy_steerable.cpp.
Definition at line 52 of file test_proxy_steerable.cpp.
int main | ( | void | ) |
Definition at line 508 of file test_proxy_steerable.cpp.
uint64_t read_stat_value | ( | void * | proxy_control | ) |
Definition at line 340 of file test_proxy_steerable.cpp.
Definition at line 168 of file test_proxy_steerable.cpp.
Definition at line 240 of file test_proxy_steerable.cpp.
void setUp | ( | ) |
Definition at line 33 of file test_proxy_steerable.cpp.
uint64_t statistics | ( | void * | proxy_control, |
const char * | runctx | ||
) |
Definition at line 352 of file test_proxy_steerable.cpp.
Definition at line 392 of file test_proxy_steerable.cpp.
void test_proxy_steerable | ( | ) |
Definition at line 412 of file test_proxy_steerable.cpp.
Definition at line 28 of file test_proxy_steerable.cpp.
Definition at line 26 of file test_proxy_steerable.cpp.
int g_proxy_control_socktype |
Definition at line 30 of file test_proxy_steerable.cpp.
Definition at line 27 of file test_proxy_steerable.cpp.
const char* proxy_control_address = "inproc://proxy_control" |
Definition at line 19 of file test_proxy_steerable.cpp.