MCProxy

Receiver

The module Receiver uses the socket with the mrt-flag to receive Membership Reports and Cache Miss messages. Cache Miss messages are sent from the Linux kernel in order to inform proxies about new multicast sources.

Classes

class  igmp_receiver
 Receive IGMP messages. More...
class  mld_receiver
 Receive MLD messages. More...
class  receiver
 Abstract basic receiver class. More...

Defines

#define IGMP_RECEIVER_IPV4_ROUTER_ALERT_OPT_SIZE   4
#define IGMP_RECEIVER_KERNEL_MSG   0
#define MLD_RECEIVER_KERNEL_MSG   0
#define RECEIVER_RECV_TIMEOUT   100

Typedefs

typedef std::map< int,
proxy_instance * > 
if_poxy_instance_map
typedef std::pair< int,
proxy_instance * > 
if_proxy_instance_pair
typedef map< int, int > vif_map
typedef pair< int, int > vif_pair

Define Documentation

#define IGMP_RECEIVER_IPV4_ROUTER_ALERT_OPT_SIZE   4

Size of the router alert option.

#define IGMP_RECEIVER_KERNEL_MSG   0

Cache Miss message received form the Linux Kernel identified by this ip verion.

#define MLD_RECEIVER_KERNEL_MSG   0

Cache Miss message received form the Linux Kernel identified by this ip verion.

#define RECEIVER_RECV_TIMEOUT   100

Receive timout set to have not a blocking receive funktion.

Referenced by receiver::init().


Typedef Documentation

typedef std::map<int, proxy_instance*> if_poxy_instance_map

Data structure to save the interface index with the incidental Proxy Instance.

Parameters:
first interface index
second pointer to the incidental Proxy Instance
typedef std::pair<int, proxy_instance*> if_proxy_instance_pair

Pair for if_poxy_instance_map.

Parameters:
first interface index
second pointer to the incidental Proxy Instance
typedef map<int, int> vif_map

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

Parameters:
first vif
second if_index
Attention:
This data structure is reversed to the over vif_maps!!
typedef pair<int, int> vif_pair

Pair for vif_map.

Parameters:
first vif
second if_index
Attention:
This data structure is reversed to the over vif_maps!!