MCProxy

Proxy Instance

A Proxy Instance represents a full multicast proxy. Each instance has access to the modules Receiver, Routing, Sender and Timer.

Classes

class  check_source
 Monitored the forwarding rules in the Linux kernel table. If a source is unused for a long time it can be removed. More...
class  proxy_instance
 Represent a multicast Proxy. More...
struct  src_state
 Data structure to save multicast sources/groups and there states. More...

Defines

#define PROXY_INSTANCE_DEL_IMMEDIATELY   0
#define PROXY_INSTANCE_MSG_QUEUE_SIZE   1000

Typedefs

typedef map< addr_storage,
src_group_state_pair
g_state_map
typedef pair< addr_storage,
src_group_state_pair
g_state_pair
typedef pair< src_state_map,
struct src_state
src_group_state_pair
typedef map< addr_storage,
struct src_state
src_state_map
typedef pair< addr_storage,
struct src_state
src_state_pair
typedef pair< int, g_state_mapstate_tabel_pair
typedef map< int, g_state_mapstate_table_map
typedef map< addr_storage,
src_state_map
upstream_src_state_map
typedef pair< addr_storage,
src_state_map
upstream_src_state_pair
typedef map< int, int > vif_map
typedef pair< int, int > vif_pair

Define Documentation

#define PROXY_INSTANCE_DEL_IMMEDIATELY   0

Saved groupmemberships will be deleted if there robustness counter is equal this define.

#define PROXY_INSTANCE_MSG_QUEUE_SIZE   1000

Maximum size of the job queue.


Typedef Documentation

Data structure to save group memberships with there states and exsists sources with there states.

Parameters:
first group address
second Data structure to save a number of sources with there states and group membership states.

Pair for g_state_map.

Parameters:
first group address
second data structure to save a number of sources with there states and group membership states.

Data structure to save a number of sources with there states and group membership states.

Parameters:
first data structure to save sources and there states
second group membership state
typedef map<addr_storage, struct src_state> src_state_map

Data structure to save sources and there states.

Parameters:
first source address
second states of the source
typedef pair<addr_storage, struct src_state> src_state_pair

Pair for src_state_map.

Parameters:
first source address
second states of the source
typedef pair< int, g_state_map > state_tabel_pair

Pair for state_table_map.

Parameters:
first interface index of the downstream interface
second multicast group information
typedef map< int, g_state_map > state_table_map

Data structure to save downstream interfaces and there multicast group information.

Parameters:
first interface index of the downstream interface
second multicast group information

Data structure for the upstream interface to save group memberships and there states.

Parameters:
first group address
second map of sources and there states

Pair for upstream_src_state_map.

Parameters:
first group address
second map of sources and there states
typedef map<int, int> vif_map

Data structure to save the interface index with the current virtual interface index.

Parameters:
first if_index
second vif
typedef pair<int, int> vif_pair

Pair for vif_map.

Parameters:
first if_index
second vif