MCProxy

mcproxy/mcproxy/include/utils/mc_socket.hpp File Reference

#include "include/utils/addr_storage.hpp"
#include <time.h>
#include <string>

Go to the source code of this file.

Classes

class  mc_socket
 Wrapper for a multicast socket. More...

Defines

#define IPV4_ALL_D_Routers_ADDR   "224.0.0.6"
#define IPV4_ALL_HOST_ADDR   "224.0.0.1"
#define IPV4_ALL_IGMP_ROUTERS_ADDR   "224.0.0.2"
#define IPV4_ALL_SPF_ROUTER_ADDR   "224.0.0.5"
#define IPV4_CISCO_AUTO_RP_ANNOUNCE_ADDR   "224.0.1.39"
#define IPV4_CISCO_AUTO_RP_DISCOVERY_ADDR   "224.0.1.40"
#define IPV4_EIGRP_ADDR   "224.0.0.10"
#define IPV4_H_323_GETEKEEPER_DISC_ADDR   "224.0.1.41"
#define IPV4_HOT_STANDBY_ROUTERV2_ADDR   "224.0.0.102"
#define IPV4_IGMPV3_ADDR   "224.0.0.22"
#define IPV4_IS_IS_OVER_IP_19_ADDR   "224.0.0.19"
#define IPV4_IS_IS_OVER_IP_20_ADDR   "224.0.0.20"
#define IPV4_IS_IS_OVER_IP_21_ADDR   "224.0.0.21"
#define IPV4_LINK_LOCAL_MCAST_NAME_RES_ADDR   "224.0.0.252"
#define IPV4_MCAST_DNS_ADDR   "224.0.0.251"
#define IPV4_NTP_ADDR   "224.0.1.1"
#define IPV4_PIMv2_ADDR   "224.0.0.13"
#define IPV4_RIPV2_ADDR   "224.0.0.9"
#define IPV4_VRR_ADDR   "224.0.0.18"
#define IPV6_ALL_LINK_LOCAL_ROUTER   "ff02::2"
#define IPV6_ALL_MLDv2_CAPABLE_ROUTERS   "ff02::16"
#define IPV6_ALL_NODES_ADDR   "ff02::1"
#define IPV6_ALL_PIM_ROUTERS   "ff02::d"
#define IPV6_ALL_SITE_LOCAL_ROUTER   "ff05::2"
#define MC_SCOKET_IF_CHOOSE_INIT   -1

Functions

string ipAddrResolver (string ipAddr)

Define Documentation

#define IPV4_ALL_D_Routers_ADDR   "224.0.0.6"
#define IPV4_ALL_HOST_ADDR   "224.0.0.1"

socket for multicast applications

Author:
Sebastian Woelke

Referenced by ipAddrResolver(), and igmp_sender::send_general_query().

#define IPV4_ALL_IGMP_ROUTERS_ADDR   "224.0.0.2"

Referenced by ipAddrResolver().

#define IPV4_ALL_SPF_ROUTER_ADDR   "224.0.0.5"
#define IPV4_CISCO_AUTO_RP_ANNOUNCE_ADDR   "224.0.1.39"
#define IPV4_CISCO_AUTO_RP_DISCOVERY_ADDR   "224.0.1.40"
#define IPV4_EIGRP_ADDR   "224.0.0.10"
#define IPV4_H_323_GETEKEEPER_DISC_ADDR   "224.0.1.41"
#define IPV4_HOT_STANDBY_ROUTERV2_ADDR   "224.0.0.102"
#define IPV4_IGMPV3_ADDR   "224.0.0.22"

Referenced by ipAddrResolver().

#define IPV4_IS_IS_OVER_IP_19_ADDR   "224.0.0.19"
#define IPV4_IS_IS_OVER_IP_20_ADDR   "224.0.0.20"
#define IPV4_IS_IS_OVER_IP_21_ADDR   "224.0.0.21"
#define IPV4_LINK_LOCAL_MCAST_NAME_RES_ADDR   "224.0.0.252"
#define IPV4_MCAST_DNS_ADDR   "224.0.0.251"

Referenced by ipAddrResolver().

#define IPV4_NTP_ADDR   "224.0.1.1"
#define IPV4_PIMv2_ADDR   "224.0.0.13"

Referenced by ipAddrResolver().

#define IPV4_RIPV2_ADDR   "224.0.0.9"
#define IPV4_VRR_ADDR   "224.0.0.18"
#define IPV6_ALL_LINK_LOCAL_ROUTER   "ff02::2"

Referenced by ipAddrResolver().

#define IPV6_ALL_MLDv2_CAPABLE_ROUTERS   "ff02::16"

Referenced by ipAddrResolver().

#define IPV6_ALL_NODES_ADDR   "ff02::1"
#define IPV6_ALL_PIM_ROUTERS   "ff02::d"

Referenced by ipAddrResolver().

#define IPV6_ALL_SITE_LOCAL_ROUTER   "ff05::2"

Referenced by ipAddrResolver().

#define MC_SCOKET_IF_CHOOSE_INIT   -1

Referenced by mc_socket::send_packet().


Function Documentation