INET Framework for OMNeT++/OMNEST
inet::Ipv6InterfaceData::RouterMulticastData Struct Reference

#include <Ipv6InterfaceData.h>

Public Member Functions

std::string str ()
 
std::string detailedInfo ()
 

Public Attributes

Ipv6AddressVector reportedMulticastGroups
 multicast groups that have listeners on the link connected to this interface More...
 

Member Function Documentation

◆ detailedInfo()

std::string inet::Ipv6InterfaceData::RouterMulticastData::detailedInfo ( )
62 {
63  std::stringstream out;
64  out << "Multicast Listeners:";
65  for (auto& elem : reportedMulticastGroups)
66  out << " " << elem;
67  out << "\n";
68  return out.str();
69 }

◆ str()

std::string inet::Ipv6InterfaceData::RouterMulticastData::str ( )
51 {
52  std::stringstream out;
53  if (reportedMulticastGroups.size() > 0) {
54  out << "\tmcast_listeners:";
55  for (size_t i = 0; i < reportedMulticastGroups.size(); ++i)
56  out << (i > 0 ? "," : "") << reportedMulticastGroups[i];
57  }
58  return out.str();
59 }

Referenced by inet::Ipv6InterfaceData::str().

Member Data Documentation

◆ reportedMulticastGroups

Ipv6AddressVector inet::Ipv6InterfaceData::RouterMulticastData::reportedMulticastGroups

multicast groups that have listeners on the link connected to this interface

Referenced by inet::Ipv6InterfaceData::addMulticastListener(), inet::Ipv6InterfaceData::hasMulticastListener(), and inet::Ipv6InterfaceData::removeMulticastListener().


The documentation for this struct was generated from the following files:
inet::Ipv6InterfaceData::RouterMulticastData::reportedMulticastGroups
Ipv6AddressVector reportedMulticastGroups
multicast groups that have listeners on the link connected to this interface
Definition: Ipv6InterfaceData.h:117