OpenSDN source code
DstPortMatch Class Reference

#include <acl_entry_match.h>

Inheritance diagram for DstPortMatch:
Collaboration diagram for DstPortMatch:

Public Member Functions

 DstPortMatch ()
 
bool Match (const PacketHeader *packet_header, FlowPolicyInfo *info) const
 
void SetAclEntryMatchSandeshData (AclEntrySandeshData &data)
 
- Public Member Functions inherited from PortMatch
 PortMatch (Type type)
 
 ~PortMatch ()
 
void SetPortRange (const uint16_t min_port, const uint16_t max_port)
 
virtual bool Compare (const AclEntryMatch &rhs) const
 
bool CheckPortRanges (const uint16_t min_port, const uint16_t max_port) const
 
- Public Member Functions inherited from AclEntryMatch
 AclEntryMatch (Type type)
 
virtual ~AclEntryMatch ()
 
bool operator== (const AclEntryMatch &rhs) const
 

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
}
 
- Protected Attributes inherited from PortMatch
RangeSList port_ranges_
 

Detailed Description

Definition at line 111 of file acl_entry_match.h.

Constructor & Destructor Documentation

◆ DstPortMatch()

DstPortMatch::DstPortMatch ( )
inline

Definition at line 113 of file acl_entry_match.h.

Member Function Documentation

◆ Match()

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

Implements PortMatch.

Definition at line 977 of file acl_entry.cc.

◆ SetAclEntryMatchSandeshData()

void DstPortMatch::SetAclEntryMatchSandeshData ( AclEntrySandeshData &  data)
virtual

Implements PortMatch.

Definition at line 997 of file acl_entry.cc.


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