#include <IPv4InterfaceData.h>
inet::IPv4MulticastSourceList::IPv4MulticastSourceList |
( |
| ) |
|
|
inline |
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
Definition: InterfaceEntry.h:44
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
bool inet::IPv4MulticastSourceList::add |
( |
IPv4Address |
source | ) |
|
Referenced by inet::IPv4InterfaceData::addMulticastListener().
42 size_t oldSize =
sources.size();
44 auto it = std::lower_bound(
sources.begin(),
sources.end(), source);
45 if (it ==
sources.end() || *it != source)
51 return sources.size() != oldSize;
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
void remove(std::vector< T > &v, const A &a)
Definition: stlutils.h:91
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
Definition: InterfaceEntry.h:44
bool inet::IPv4MulticastSourceList::contains |
( |
IPv4Address |
source | ) |
|
bool inet::IPv4MulticastSourceList::containsAll |
( |
| ) |
const |
|
inline |
std::string inet::IPv4MulticastSourceList::detailedInfo |
( |
| ) |
const |
79 std::stringstream out;
81 for (
int i = 0; i < (int)
sources.size(); ++i)
82 out << (i > 0 ?
", " :
"") <<
sources[i];
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
Definition: InterfaceEntry.h:44
std::string inet::IPv4MulticastSourceList::info |
( |
| ) |
const |
bool inet::IPv4MulticastSourceList::isEmpty |
( |
| ) |
const |
|
inline |
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
bool inet::IPv4MulticastSourceList::remove |
( |
IPv4Address |
source | ) |
|
56 size_t oldSize =
sources.size();
62 if (it ==
sources.end() || *it != source)
65 return sources.size() != oldSize;
IPv4AddressVector sources
Definition: IPv4InterfaceData.h:39
void remove(std::vector< T > &v, const A &a)
Definition: stlutils.h:91
McastSourceFilterMode filterMode
Definition: IPv4InterfaceData.h:38
Definition: InterfaceEntry.h:44
Referenced by add(), inet::IGMPv3::RouterGroupData::collectForwardedSources(), contains(), detailedInfo(), info(), inet::IGMPv3::multicastSourceListChanged(), operator!=(), operator==(), inet::IGMPv3::processReport(), remove(), inet::IPv4InterfaceData::setMulticastListeners(), and inet::IPv4InterfaceData::HostMulticastGroupData::updateSourceList().
Referenced by add(), inet::IGMPv3::RouterGroupData::collectForwardedSources(), contains(), detailedInfo(), info(), inet::IGMPv3::multicastSourceListChanged(), operator!=(), operator==(), inet::IGMPv3::processReport(), remove(), and inet::IPv4InterfaceData::setMulticastListeners().
The documentation for this struct was generated from the following files: