OpenSDN source code
AclEntryMatch Class Referenceabstract

#include <acl_entry_match.h>

Inheritance diagram for AclEntryMatch:

Public Types

enum  Type {
  SOURCE_PORT_MATCH , DESTINATION_PORT_MATCH , PROTOCOL_MATCH , ADDRESS_MATCH ,
  SERVICE_GROUP_MATCH , TAGS_MATCH
}
 

Public Member Functions

 AclEntryMatch (Type type)
 
virtual ~AclEntryMatch ()
 
virtual bool Match (const PacketHeader *packet_header, FlowPolicyInfo *info) const =0
 
virtual void SetAclEntryMatchSandeshData (AclEntrySandeshData &data)=0
 
virtual bool Compare (const AclEntryMatch &rhs) const =0
 
bool operator== (const AclEntryMatch &rhs) const
 

Private Attributes

Type type_
 

Detailed Description

Definition at line 35 of file acl_entry_match.h.

Member Enumeration Documentation

◆ Type

Enumerator
SOURCE_PORT_MATCH 
DESTINATION_PORT_MATCH 
PROTOCOL_MATCH 
ADDRESS_MATCH 
SERVICE_GROUP_MATCH 
TAGS_MATCH 

Definition at line 37 of file acl_entry_match.h.

Constructor & Destructor Documentation

◆ AclEntryMatch()

AclEntryMatch::AclEntryMatch ( Type  type)
inline

Definition at line 45 of file acl_entry_match.h.

◆ ~AclEntryMatch()

virtual AclEntryMatch::~AclEntryMatch ( )
inlinevirtual

Definition at line 46 of file acl_entry_match.h.

Member Function Documentation

◆ Compare()

virtual bool AclEntryMatch::Compare ( const AclEntryMatch rhs) const
pure virtual

◆ Match()

virtual bool AclEntryMatch::Match ( const PacketHeader packet_header,
FlowPolicyInfo info 
) const
pure virtual

◆ operator==()

bool AclEntryMatch::operator== ( const AclEntryMatch rhs) const
inline

Definition at line 51 of file acl_entry_match.h.

Here is the call graph for this function:

◆ SetAclEntryMatchSandeshData()

virtual void AclEntryMatch::SetAclEntryMatchSandeshData ( AclEntrySandeshData &  data)
pure virtual

Member Data Documentation

◆ type_

Type AclEntryMatch::type_
private

Definition at line 58 of file acl_entry_match.h.


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