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

#include <acl_entry_match.h>

Inheritance diagram for ProtocolMatch:
Collaboration diagram for ProtocolMatch:

Public Member Functions

 ProtocolMatch ()
 
 ~ProtocolMatch ()
 
void SetProtocolRange (const uint16_t min, const uint16_t max)
 
bool Match (const PacketHeader *packet_header, FlowPolicyInfo *info) const
 
void SetAclEntryMatchSandeshData (AclEntrySandeshData &data)
 
virtual bool Compare (const AclEntryMatch &rhs) const
 
- Public Member Functions inherited from AclEntryMatch
 AclEntryMatch (Type type)
 
virtual ~AclEntryMatch ()
 
bool operator== (const AclEntryMatch &rhs) const
 

Private Attributes

RangeSList protocol_ranges_
 

Additional Inherited Members

- Public Types inherited from AclEntryMatch
enum  Type {
  SOURCE_PORT_MATCH, DESTINATION_PORT_MATCH, PROTOCOL_MATCH, ADDRESS_MATCH,
  SERVICE_GROUP_MATCH, TAGS_MATCH
}
 

Detailed Description

Definition at line 119 of file acl_entry_match.h.

Constructor & Destructor Documentation

ProtocolMatch::ProtocolMatch ( )
inline

Definition at line 121 of file acl_entry_match.h.

ProtocolMatch::~ProtocolMatch ( )
inline

Definition at line 122 of file acl_entry_match.h.

Member Function Documentation

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

Implements AclEntryMatch.

Definition at line 709 of file acl_entry.cc.

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

Implements AclEntryMatch.

Definition at line 731 of file acl_entry.cc.

void ProtocolMatch::SetAclEntryMatchSandeshData ( AclEntrySandeshData &  data)
virtual

Implements AclEntryMatch.

Definition at line 746 of file acl_entry.cc.

void ProtocolMatch::SetProtocolRange ( const uint16_t  min,
const uint16_t  max 
)

Definition at line 702 of file acl_entry.cc.

Member Data Documentation

RangeSList ProtocolMatch::protocol_ranges_
private

Definition at line 130 of file acl_entry_match.h.


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