join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
route.hpp File Reference
#include <join/ipaddress.hpp>
#include <join/mutex.hpp>
#include <memory>
#include <vector>
#include <linux/rtnetlink.h>
#include <cstdint>
Include dependency graph for route.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  join::RouteKey
 key identifying a routing table entry. More...
 
class  join::Route
 class representing a single kernel routing table entry. More...
 
struct  std::hash< join::RouteKey >
 std::hash specialization for RouteKey. More...
 

Namespaces

namespace  join
 
namespace  std
 

Typedefs

using join::RouteList = std::vector<Route::Ptr>
 list of routes.
 

Functions

bool join::operator== (const RouteKey &lhs, const RouteKey &rhs) noexcept
 compare if two route keys are equal.
 
bool join::operator< (const RouteKey &lhs, const RouteKey &rhs) noexcept
 compare two route keys for ordering.
 
bool join::operator== (const Route::Ptr &lhs, const Route::Ptr &rhs)
 compare if two routes are equal.
 
bool join::operator< (const Route::Ptr &lhs, const Route::Ptr &rhs)
 compare two routes for ordering.