xorp

is_port_for< A > Struct Template Reference

Functor to test whether a particular OLSR port is appropriate for packet arriving on socket. More...

List of all members.

Public Member Functions

 is_port_for (const string *sockid, const string *ifname, const string *vifname, const IPv4 *addr, IfMgrXrlMirror *im)
bool operator() (XrlPort *&xp)
 is_port_for (const string *sockid, const string *ifname, const string *vifname, const A *addr, IfMgrXrlMirror *im)
bool operator() (Port< A > *&p)

Protected Member Functions

bool link_addr_valid () const
bool link_addr_valid () const
template<>
bool link_addr_valid () const
template<>
bool link_addr_valid () const

Private Attributes

const string * _psid
const string * _ifname
const string * _vifname
const IPv4_pa
IfMgrXrlMirror_pim
const A * _pa

Detailed Description

template<typename A>
struct is_port_for< A >

Functor to test whether a particular OLSR port is appropriate for packet arriving on socket.

Unary function object to test whether a particular RIP port is appropriate for packet arriving on socket.

NB At a future date we might want to track socket id to XrlPortIO mappings. This would be more efficient.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations