![]() |
FD.io VPP
v20.09-rc2-28-g3c5414029
Vector Packet Processing
|
A representation of IP punt_redirect configuration on an interface. More...
Inheritance diagram for VOM::ip_punt_redirect:
Collaboration diagram for VOM::ip_punt_redirect:Public Types | |
| typedef interface::key_t | key_t |
| The key type for ip_punt_redirects. More... | |
Public Member Functions | |
| ip_punt_redirect (const interface &rx_itf, const interface &tx_itf, const boost::asio::ip::address &addr) | |
| Construct a new object matching the desried state. More... | |
| ip_punt_redirect (const interface &tx_itf, const boost::asio::ip::address &addr) | |
| Construct a new object matching the desried state. More... | |
| ip_punt_redirect (const ip_punt_redirect &o) | |
| Copy Constructor. More... | |
| ~ip_punt_redirect () | |
| Destructor. More... | |
| std::shared_ptr< ip_punt_redirect > | singular () const |
| Return the 'singular instance' of the ip_punt_redirect that matches this object. More... | |
| std::string | to_string () const |
| convert to string format for debug purposes More... | |
| const key_t | key () const |
| return the object's key More... | |
Static Public Member Functions | |
| static void | dump (std::ostream &os) |
| Dump all ip_punt_redirects into the stream provided. More... | |
| static std::shared_ptr< ip_punt_redirect > | find (const interface &i) |
| Find an singular instance in the DB for the interface passed. More... | |
Friends | |
| class | OM |
| class | singular_db< key_t, ip_punt_redirect > |
| 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 IP punt_redirect configuration on an interface.
Definition at line 30 of file ip_punt_redirect.hpp.
The key type for ip_punt_redirects.
Definition at line 82 of file ip_punt_redirect.hpp.
| VOM::ip_punt_redirect::ip_punt_redirect | ( | const interface & | rx_itf, |
| const interface & | tx_itf, | ||
| const boost::asio::ip::address & | addr | ||
| ) |
Construct a new object matching the desried state.
| rx_itf | - The interface from where the punt traffic should come. |
| tx_itf | - The interface to which traffic should be redirected. |
| addr | - The next hop ip address to redirect the traffic. |
Definition at line 29 of file ip_punt_redirect.cpp.
| VOM::ip_punt_redirect::ip_punt_redirect | ( | const interface & | tx_itf, |
| const boost::asio::ip::address & | addr | ||
| ) |
Construct a new object matching the desried state.
| tx_itf | - The interface to which traffic should be redirected. |
| addr | - The next hop ip address to redirect the traffic. |
Definition at line 38 of file ip_punt_redirect.cpp.
| VOM::ip_punt_redirect::ip_punt_redirect | ( | const ip_punt_redirect & | o | ) |
Copy Constructor.
Definition at line 46 of file ip_punt_redirect.cpp.
| VOM::ip_punt_redirect::~ip_punt_redirect | ( | ) |
Destructor.
Definition at line 54 of file ip_punt_redirect.cpp.
Here is the call graph for this function:
|
static |
Dump all ip_punt_redirects into the stream provided.
Definition at line 83 of file ip_punt_redirect.cpp.
Here is the call graph for this function:
|
static |
Find an singular instance in the DB for the interface passed.
| const ip_punt_redirect::key_t VOM::ip_punt_redirect::key | ( | ) | const |
return the object's key
Definition at line 63 of file ip_punt_redirect.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::shared_ptr< ip_punt_redirect > VOM::ip_punt_redirect::singular | ( | ) | const |
Return the 'singular instance' of the ip_punt_redirect that matches this object.
Definition at line 126 of file ip_punt_redirect.cpp.
Here is the call graph for this function:
|
virtual |
convert to string format for debug purposes
Implements VOM::object_base.
Definition at line 99 of file ip_punt_redirect.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 144 of file ip_punt_redirect.hpp.
|
friend |
It's the singular_db class that calls replay.
Definition at line 149 of file ip_punt_redirect.hpp.