OpenSDN source code
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::PortCacheEntry ( const FlowKey key,
const uint16_t  port 
)
inline

Definition at line 947 of file flow_entry.h.

Member Function Documentation

◆ CanBeAged()

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

Definition at line 3812 of file flow_entry.cc.

◆ key()

const FlowKey& PortCacheEntry::key ( ) const
inline

Definition at line 951 of file flow_entry.h.

◆ MarkDelete()

void PortCacheEntry::MarkDelete ( ) const

Definition at line 3807 of file flow_entry.cc.

Here is the call graph for this function:

◆ operator<()

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

Definition at line 3803 of file flow_entry.cc.

Here is the call graph for this function:

◆ port()

uint16_t PortCacheEntry::port ( ) const
inline

Definition at line 955 of file flow_entry.h.

◆ set_stale()

void PortCacheEntry::set_stale ( bool  stale) const
inline

Definition at line 959 of file flow_entry.h.

Member Data Documentation

◆ delete_time_

uint64_t PortCacheEntry::delete_time_
mutableprivate

Definition at line 970 of file flow_entry.h.

◆ key_

FlowKey PortCacheEntry::key_
private

Definition at line 967 of file flow_entry.h.

◆ port_

uint16_t PortCacheEntry::port_
private

Definition at line 968 of file flow_entry.h.

◆ stale_

bool PortCacheEntry::stale_
mutableprivate

Definition at line 969 of file flow_entry.h.


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