OpenSDN source code
VRouterSubnet Struct Reference

#include <vrouter.h>

Collaboration diagram for VRouterSubnet:

Public Member Functions

 VRouterSubnet ()
 
 VRouterSubnet (const std::string &ip, uint8_t prefix_len)
 
bool operator== (const VRouterSubnet &rhs) const
 
bool IsLess (const VRouterSubnet *rhs) const
 
bool operator() (const VRouterSubnet &lhs, const VRouterSubnet &rhs) const
 

Public Attributes

IpAddress ip_prefix
 
uint8_t plen
 

Detailed Description

Definition at line 13 of file vrouter.h.

Constructor & Destructor Documentation

◆ VRouterSubnet() [1/2]

VRouterSubnet::VRouterSubnet ( )
inline

Definition at line 16 of file vrouter.h.

◆ VRouterSubnet() [2/2]

VRouterSubnet::VRouterSubnet ( const std::string &  ip,
uint8_t  prefix_len 
)

Definition at line 15 of file vrouter.cc.

Member Function Documentation

◆ IsLess()

bool VRouterSubnet::IsLess ( const VRouterSubnet rhs) const

Definition at line 31 of file vrouter.cc.

◆ operator()()

bool VRouterSubnet::operator() ( const VRouterSubnet lhs,
const VRouterSubnet rhs 
) const

Definition at line 38 of file vrouter.cc.

Here is the call graph for this function:

◆ operator==()

bool VRouterSubnet::operator== ( const VRouterSubnet rhs) const

Definition at line 21 of file vrouter.cc.

Member Data Documentation

◆ ip_prefix

IpAddress VRouterSubnet::ip_prefix

Definition at line 14 of file vrouter.h.

◆ plen

uint8_t VRouterSubnet::plen

Definition at line 15 of file vrouter.h.


The documentation for this struct was generated from the following files: