![]() |
FD.io VPP
v20.09-rc2-28-g3c5414029
Vector Packet Processing
|
A representation of igmp configuration on an interface. More...
Inheritance diagram for VOM::igmp_listen:
Collaboration diagram for VOM::igmp_listen:Public Types | |
| typedef std::set< boost::asio::ip::address_v4 > | src_addrs_t |
| typedef std::pair< interface::key_t, boost::asio::ip::address > | key_t |
| The key type for igmp_listens. More... | |
Public Member Functions | |
| igmp_listen (const igmp_binding &igmp_bind, const boost::asio::ip::address_v4 &gaddr, const src_addrs_t &saddrs) | |
| Construct a new object matching the desried state. More... | |
| igmp_listen (const igmp_binding &igmp_bind, const boost::asio::ip::address_v4 &gaddr) | |
| igmp_listen (const igmp_listen &o) | |
| Copy Constructor. More... | |
| ~igmp_listen () | |
| Destructor. More... | |
| bool | operator== (const igmp_listen &l) const |
| Comparison operator. More... | |
| const key_t | key () const |
| Get the object's key. More... | |
| std::shared_ptr< igmp_listen > | singular () const |
| Return the 'singular instance' of the IGMP that matches this object. More... | |
| std::string | to_string () const |
| convert to string format for debug purposes More... | |
Static Public Member Functions | |
| static void | dump (std::ostream &os) |
| Dump all igmp_listens into the stream provided. More... | |
| static std::shared_ptr< igmp_listen > | find (const key_t &k) |
| Find a listen from its key. More... | |
Friends | |
| class | OM |
| class | singular_db< key_t, igmp_listen > |
| It's the singular_db class that calls replay() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::object_base | |
| object_base ()=default | |
| Constructable by derived classes only. More... | |
| virtual | ~object_base ()=default |
| Destructor. More... | |
A representation of igmp configuration on an interface.
Definition at line 31 of file igmp_listen.hpp.
| typedef std::pair<interface::key_t, boost::asio::ip::address> VOM::igmp_listen::key_t |
The key type for igmp_listens.
Definition at line 39 of file igmp_listen.hpp.
| typedef std::set<boost::asio::ip::address_v4> VOM::igmp_listen::src_addrs_t |
Definition at line 34 of file igmp_listen.hpp.
| VOM::igmp_listen::igmp_listen | ( | const igmp_binding & | igmp_bind, |
| const boost::asio::ip::address_v4 & | gaddr, | ||
| const src_addrs_t & | saddrs | ||
| ) |
Construct a new object matching the desried state.
Definition at line 28 of file igmp_listen.cpp.
| VOM::igmp_listen::igmp_listen | ( | const igmp_binding & | igmp_bind, |
| const boost::asio::ip::address_v4 & | gaddr | ||
| ) |
Definition at line 38 of file igmp_listen.cpp.
| VOM::igmp_listen::igmp_listen | ( | const igmp_listen & | o | ) |
Copy Constructor.
Definition at line 47 of file igmp_listen.cpp.
| VOM::igmp_listen::~igmp_listen | ( | ) |
Destructor.
Definition at line 55 of file igmp_listen.cpp.
Here is the call graph for this function:
|
static |
Dump all igmp_listens into the stream provided.
Definition at line 144 of file igmp_listen.cpp.
Here is the call graph for this function:
|
static |
Find a listen from its key.
Definition at line 132 of file igmp_listen.cpp.
| const igmp_listen::key_t VOM::igmp_listen::key | ( | ) | const |
Get the object's key.
Definition at line 71 of file igmp_listen.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool VOM::igmp_listen::operator== | ( | const igmp_listen & | l | ) | const |
Comparison operator.
Definition at line 64 of file igmp_listen.cpp.
| std::shared_ptr< igmp_listen > VOM::igmp_listen::singular | ( | ) | const |
Return the 'singular instance' of the IGMP that matches this object.
Definition at line 138 of file igmp_listen.cpp.
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 96 of file igmp_listen.cpp.
Here is the call graph for this function:
|
friend |
Definition at line 140 of file igmp_listen.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 145 of file igmp_listen.hpp.