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

#include <acl_entry.h>

Collaboration diagram for AclEntry:

Public Types

enum  AclType { TERMINAL = 1, NON_TERMINAL = 2 }
 
typedef std::list
< TrafficAction * > 
ActionList
 

Public Member Functions

 AclEntry ()
 
 AclEntry (AclType type)
 
 ~AclEntry ()
 
void PopulateAclEntry (const AclEntrySpec &acl_entry_spec)
 
void set_mirror_entry (MirrorEntryRef me)
 
const ActionListPacketMatch (const PacketHeader &packet_header, FlowPolicyInfo *info) const
 
const ActionListActions () const
 
void SetAclEntrySandeshData (AclEntrySandeshData &data) const
 
bool IsTerminal () const
 
const AclEntryIDid () const
 
const std::string & uuid () const
 
bool operator== (const AclEntry &rhs) const
 
bool ResyncQosConfigEntries ()
 
bool IsQosConfigResolved ()
 
const AclEntryMatchGet (uint32_t index) const
 
const Address::Familyfamily () const
 

Public Attributes

boost::intrusive::list_member_hook acl_list_node
 

Static Public Attributes

static ActionList kEmptyActionList
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AclEntry)
 

Private Attributes

AclEntryID id_
 
AclType type_
 
std::vector< AclEntryMatch * > matches_
 
ActionList actions_
 
MirrorEntryRef mirror_entry_
 
std::string uuid_
 
Address::Family family_
 

Detailed Description

Definition at line 87 of file acl_entry.h.

Member Typedef Documentation

typedef std::list<TrafficAction *> AclEntry::ActionList

Definition at line 94 of file acl_entry.h.

Member Enumeration Documentation

Enumerator
TERMINAL 
NON_TERMINAL 

Definition at line 89 of file acl_entry.h.

Constructor & Destructor Documentation

AclEntry::AclEntry ( )
inline

Definition at line 96 of file acl_entry.h.

AclEntry::AclEntry ( AclType  type)
inline

Definition at line 100 of file acl_entry.h.

AclEntry::~AclEntry ( )

Definition at line 30 of file acl_entry.cc.

Member Function Documentation

const ActionList& AclEntry::Actions ( ) const
inline

Definition at line 114 of file acl_entry.h.

AclEntry::DISALLOW_COPY_AND_ASSIGN ( AclEntry  )
private
const Address::Family& AclEntry::family ( ) const
inline

Definition at line 131 of file acl_entry.h.

const AclEntryMatch* AclEntry::Get ( uint32_t  index) const
inline

Definition at line 128 of file acl_entry.h.

const AclEntryID& AclEntry::id ( ) const
inline

Definition at line 120 of file acl_entry.h.

bool AclEntry::IsQosConfigResolved ( )

Definition at line 198 of file acl_entry.cc.

Here is the call graph for this function:

bool AclEntry::IsTerminal ( ) const

Definition at line 288 of file acl_entry.cc.

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

Definition at line 296 of file acl_entry.cc.

const AclEntry::ActionList & AclEntry::PacketMatch ( const PacketHeader packet_header,
FlowPolicyInfo info 
) const

Definition at line 232 of file acl_entry.cc.

Here is the call graph for this function:

void AclEntry::PopulateAclEntry ( const AclEntrySpec acl_entry_spec)

Definition at line 46 of file acl_entry.cc.

Here is the call graph for this function:

bool AclEntry::ResyncQosConfigEntries ( )

Definition at line 211 of file acl_entry.cc.

Here is the call graph for this function:

void AclEntry::set_mirror_entry ( MirrorEntryRef  me)

Definition at line 228 of file acl_entry.cc.

void AclEntry::SetAclEntrySandeshData ( AclEntrySandeshData &  data) const

Definition at line 244 of file acl_entry.cc.

Here is the call graph for this function:

const std::string& AclEntry::uuid ( ) const
inline

Definition at line 121 of file acl_entry.h.

Member Data Documentation

boost::intrusive::list_member_hook AclEntry::acl_list_node

Definition at line 123 of file acl_entry.h.

ActionList AclEntry::actions_
private

Definition at line 137 of file acl_entry.h.

Address::Family AclEntry::family_
private

Definition at line 140 of file acl_entry.h.

AclEntryID AclEntry::id_
private

Definition at line 134 of file acl_entry.h.

AclEntry::ActionList AclEntry::kEmptyActionList
static

Definition at line 95 of file acl_entry.h.

std::vector<AclEntryMatch *> AclEntry::matches_
private

Definition at line 136 of file acl_entry.h.

MirrorEntryRef AclEntry::mirror_entry_
private

Definition at line 138 of file acl_entry.h.

AclType AclEntry::type_
private

Definition at line 135 of file acl_entry.h.

std::string AclEntry::uuid_
private

Definition at line 139 of file acl_entry.h.


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