OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
L4PortBitmap::PortBitmap Struct Reference

#include <l4_port_bitmap.h>

Public Member Functions

 PortBitmap ()
 
 ~PortBitmap ()
 
void AddPort (uint16_t port)
 
bool Sync (std::vector< uint32_t > &bmap)
 
void Encode (std::vector< uint32_t > &bmap)
 
void Reset ()
 

Public Attributes

uint32_t counts_ [kBucketCount]
 
uint32_t bitmap_ [kBmapCount]
 
uint32_t bitmap_old_ [kBmapCount]
 

Detailed Description

Definition at line 18 of file l4_port_bitmap.h.

Constructor & Destructor Documentation

L4PortBitmap::PortBitmap::PortBitmap ( )
inline

Definition at line 19 of file l4_port_bitmap.h.

L4PortBitmap::PortBitmap::~PortBitmap ( )
inline

Definition at line 20 of file l4_port_bitmap.h.

Member Function Documentation

void L4PortBitmap::PortBitmap::AddPort ( uint16_t  port)

Definition at line 51 of file l4_port_bitmap.cc.

void L4PortBitmap::PortBitmap::Encode ( std::vector< uint32_t > &  bmap)

Definition at line 59 of file l4_port_bitmap.cc.

void L4PortBitmap::PortBitmap::Reset ( )

Definition at line 42 of file l4_port_bitmap.cc.

bool L4PortBitmap::PortBitmap::Sync ( std::vector< uint32_t > &  bmap)

Definition at line 65 of file l4_port_bitmap.cc.

Member Data Documentation

uint32_t L4PortBitmap::PortBitmap::bitmap_[kBmapCount]

Definition at line 23 of file l4_port_bitmap.h.

uint32_t L4PortBitmap::PortBitmap::bitmap_old_[kBmapCount]

Definition at line 24 of file l4_port_bitmap.h.

uint32_t L4PortBitmap::PortBitmap::counts_[kBucketCount]

Definition at line 22 of file l4_port_bitmap.h.


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