Proxy
The module Proxy reads the configuration file on startup. It then configures and starts all other modules, acquire the mrt-flag on a socket for manipulating the multicast routing tables of the Linux kernel.
Classes | |
class | check_if |
Monitored running state the network interfaces. More... | |
class | proxy |
Instanced the multicast proxy. More... | |
Defines | |
#define | PROXY_CONFIG_LINE_LENGTH 200 |
#define | PROXY_DEBUG_MSG_TIMEOUT 3000 |
#define | PROXY_DEFAULT_CONIG_PATH "mcproxy.conf" |
#define | PROXY_RP_FILTER_PATH "/proc/sys/net/ipv4/conf/" |
Typedefs | |
typedef vector< int > | down_vector |
typedef map< int, int > | interface_map |
typedef pair< int, int > | interface_pair |
typedef map< int, down_vector > | up_down_map |
typedef pair< int, down_vector > | up_down_pair |
typedef map< int, int > | vif_map |
typedef pair< int, int > | vif_pair |
Define Documentation
#define PROXY_CONFIG_LINE_LENGTH 200 |
Maximum length of a line in the config file.
#define PROXY_DEBUG_MSG_TIMEOUT 3000 |
If some proxy instance in the timeout time dont react to an debug message it will be ignored.
Referenced by proxy::start().
#define PROXY_DEFAULT_CONIG_PATH "mcproxy.conf" |
Default path to find the config file.
#define PROXY_RP_FILTER_PATH "/proc/sys/net/ipv4/conf/" |
Path to change the rp filter flag.
Typedef Documentation
typedef vector< int > down_vector |
Downstream vector for up_down_map.
- Parameters:
-
vector of the downstream interfaces
typedef map<int,int > interface_map |
Lookup map to find a proxyinstance for a spezific interface index.
- Parameters:
-
first interface index second proxyinstance index based on arbitrary vector
typedef pair<int,int> interface_pair |
Pair for interface_map.
- Parameters:
-
first interface index second proxyinstance index based on arbitrary vector
typedef map<int, down_vector > up_down_map |
data structure to mangage the upstream/downstream instances.
- Parameters:
-
first index of the upstream interface second index vector of the downstream interfaces
typedef pair<int, down_vector > up_down_pair |
Pair for up_down_map.
- Parameters:
-
first index of the upstream interface second vector of the downstream interfaces
typedef map<int, int> vif_map |
data structure to the interface index with the current virtual interface index.
- Parameters:
-
first if_index second vif