mcproxy/mcproxy/src/main.cpp File Reference
#include "include/hamcast_logging.h"
#include "include/utils/if_prop.hpp"
#include "include/utils/mc_socket.hpp"
#include "include/utils/mroute_socket.hpp"
#include "include/utils/mc_tables.hpp"
#include "include/utils/addr_storage.hpp"
#include "include/proxy/proxy.hpp"
#include "include/proxy/timing.hpp"
#include "include/proxy/check_if.hpp"
#include <iostream>
Functions | |
int | main (int arg_count, char *args[]) |
void | test_log () |
void | test_MC_TestTool () |
void | test_mcproxy (int arg_count, char *args[]) |
void | test_mctables () |
Function Documentation
int main | ( | int | arg_count, | |
char * | args[] | |||
) |
References HC_LOG_TRACE_LVL, hc_set_default_log_fun(), and test_mcproxy().
void test_log | ( | ) |
References HC_LOG_DEBUG, HC_LOG_ERROR, HC_LOG_FATAL, HC_LOG_INFO, HC_LOG_TRACE, HC_LOG_TRACE_LVL, HC_LOG_WARN, and hc_set_default_log_fun().
void test_MC_TestTool | ( | ) |
void test_mcproxy | ( | int | arg_count, | |
char * | args[] | |||
) |
References proxy::end(), proxy::get_state_table(), HC_LOG_ERROR_LVL, hc_set_default_log_fun(), proxy::init(), and proxy::start().
Referenced by main().
void test_mctables | ( | ) |
References mroute_socket::create_raw_ipv4_socket(), mroute_socket::create_raw_ipv6_socket(), mroute_socket::set_mrt_flag(), mroute_socket::test_add_route(), mroute_socket::test_add_vifs(), mroute_socket::test_del_route(), mroute_socket::test_del_vifs(), mc_tables::test_joined_groups(), mc_tables::test_mr_cache(), and mc_tables::test_vifs().