OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PortCacheEntry Class Reference

#include <flow_entry.h>

Collaboration diagram for PortCacheEntry:

Public Member Functions

 PortCacheEntry (const FlowKey &key, const uint16_t port)
 
const FlowKeykey () const
 
uint16_t port () const
 
void set_stale (bool stale) const
 
void MarkDelete () const
 
bool operator< (const PortCacheEntry &rhs) const
 
bool CanBeAged (uint64_t current_time, uint64_t timeout) const
 

Private Attributes

FlowKey key_
 
uint16_t port_
 
bool stale_
 
uint64_t delete_time_
 

Detailed Description

Definition at line 945 of file flow_entry.h.

Constructor & Destructor Documentation

PortCacheEntry::PortCacheEntry ( const FlowKey key,
const uint16_t  port 
)
inline

Definition at line 947 of file flow_entry.h.

Member Function Documentation

bool PortCacheEntry::CanBeAged ( uint64_t  current_time,
uint64_t  timeout 
) const

Definition at line 3759 of file flow_entry.cc.

const FlowKey& PortCacheEntry::key ( ) const
inline

Definition at line 951 of file flow_entry.h.

void PortCacheEntry::MarkDelete ( ) const

Definition at line 3754 of file flow_entry.cc.

Here is the call graph for this function:

bool PortCacheEntry::operator< ( const PortCacheEntry rhs) const

Definition at line 3750 of file flow_entry.cc.

Here is the call graph for this function:

uint16_t PortCacheEntry::port ( ) const
inline

Definition at line 955 of file flow_entry.h.

void PortCacheEntry::set_stale ( bool  stale) const
inline

Definition at line 959 of file flow_entry.h.

Member Data Documentation

uint64_t PortCacheEntry::delete_time_
mutableprivate

Definition at line 970 of file flow_entry.h.

FlowKey PortCacheEntry::key_
private

Definition at line 967 of file flow_entry.h.

uint16_t PortCacheEntry::port_
private

Definition at line 968 of file flow_entry.h.

bool PortCacheEntry::stale_
mutableprivate

Definition at line 969 of file flow_entry.h.


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