OpenSDN source code
|
#include <acl_entry_match.h>
Public Member Functions | |
PortMatch (Type type) | |
~PortMatch () | |
void | SetPortRange (const uint16_t min_port, const uint16_t max_port) |
void | SetAclEntryMatchSandeshData (AclEntrySandeshData &data)=0 |
virtual bool | Match (const PacketHeader *packet_header, FlowPolicyInfo *info) const =0 |
virtual bool | Compare (const AclEntryMatch &rhs) const |
bool | CheckPortRanges (const uint16_t min_port, const uint16_t max_port) const |
![]() | |
AclEntryMatch (Type type) | |
virtual | ~AclEntryMatch () |
bool | operator== (const AclEntryMatch &rhs) const |
Protected Attributes | |
RangeSList | port_ranges_ |
Additional Inherited Members | |
![]() | |
enum | Type { SOURCE_PORT_MATCH, DESTINATION_PORT_MATCH, PROTOCOL_MATCH, ADDRESS_MATCH, SERVICE_GROUP_MATCH, TAGS_MATCH } |
Definition at line 89 of file acl_entry_match.h.
|
inline |
Definition at line 91 of file acl_entry_match.h.
|
inline |
Definition at line 92 of file acl_entry_match.h.
bool PortMatch::CheckPortRanges | ( | const uint16_t | min_port, |
const uint16_t | max_port | ||
) | const |
Definition at line 913 of file acl_entry.cc.
|
virtual |
Implements AclEntryMatch.
Definition at line 925 of file acl_entry.cc.
|
pure virtual |
Implements AclEntryMatch.
Implemented in DstPortMatch, and SrcPortMatch.
|
pure virtual |
Implements AclEntryMatch.
Implemented in DstPortMatch, and SrcPortMatch.
void PortMatch::SetPortRange | ( | const uint16_t | min_port, |
const uint16_t | max_port | ||
) |
Definition at line 907 of file acl_entry.cc.
|
protected |
Definition at line 101 of file acl_entry_match.h.