1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 12:14:26 +01:00

Added another overload of Utils::route_entries and fixed a bug in Utils::network_interfaces.

This commit is contained in:
Matias Fontanini
2013-11-02 19:19:55 -03:00
parent 0b02af616a
commit dfbbea33d5
2 changed files with 16 additions and 3 deletions

View File

@@ -168,13 +168,20 @@ namespace Tins {
/**
* \brief Retrieves entries int the routing table.
* \brief Retrieves entries in the routing table.
*
* \brief output ForwardIterator in which entries will be stored.
*/
template<class ForwardIterator>
void route_entries(ForwardIterator output);
/**
* \brief Retrieves entries in the routing table.
*
* \return a vector which contains all of the route entries.
*/
std::vector<RouteEntry> route_entries();
/** \brief Returns the 32 bit crc of the given buffer.
*
* \param data The input buffer.