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

Go to the source code of this file.

Classes

struct  join::NeighborKey
 key identifying a neighbor cache entry. More...
 
class  join::Neighbor
 class representing a single ARP / NDP neighbor cache entry. More...
 
struct  std::hash< join::NeighborKey >
 std::hash specialization for NeighborKey. More...
 

Namespaces

namespace  join
 
namespace  std
 

Typedefs

using join::NeighborList = std::vector<Neighbor::Ptr>
 list of neighbors.
 

Functions

bool join::operator== (const NeighborKey &lhs, const NeighborKey &rhs) noexcept
 compare if two neighbor keys are equal.
 
bool join::operator< (const NeighborKey &lhs, const NeighborKey &rhs) noexcept
 compare two neighbor keys for ordering.
 
bool join::operator== (const Neighbor::Ptr &lhs, const Neighbor::Ptr &rhs)
 compare if two neighbor are equal.
 
bool join::operator< (const Neighbor::Ptr &lhs, const Neighbor::Ptr &rhs)
 compare two neighbor for ordering.