OpenSDN source code
|
#include <traffic_action.h>
Public Member Functions | |
LogAction () | |
~LogAction () | |
virtual bool | Compare (const TrafficAction &rhs) const |
![]() | |
TrafficAction () | |
TrafficAction (Action action, TrafficActionType type) | |
virtual | ~TrafficAction () |
bool | IsDrop () const |
Action | action () const |
TrafficActionType | action_type () const |
virtual void | SetActionSandeshData (std::vector< ActionStr > &actions) |
bool | operator== (const TrafficAction &rhs) const |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (LogAction) | |
Additional Inherited Members | |
![]() | |
enum | TrafficActionType { SIMPLE_ACTION = 1, MIRROR_ACTION = 2, VRF_TRANSLATE_ACTION = 3, LOG_ACTION = 4, ALERT_ACTION = 5, QOS_ACTION = 6, HBS_ACTION = 7 } |
enum | Action { ALERT = 1, DENY = 3, LOG = 4, PASS = 5, MIRROR = 7, VRF_TRANSLATE = 8, APPLY_QOS = 9, TRAP = 28, HBS = 10, IMPLICIT_DENY = 29, RESERVED = 30, UNKNOWN = 31 } |
![]() | |
static std::string | ActionToString (enum Action at) |
![]() | |
static const std::string | kActionLogStr = "log" |
static const std::string | kActionAlertStr = "alert" |
static const std::string | kActionHbsStr = "hbs" |
static const uint32_t | DROP_FLAGS = ((1 << DENY)) |
static const uint32_t | PASS_FLAGS = ((1 << PASS)) |
static const uint32_t | IMPLICIT_DENY_FLAGS = ((1 << IMPLICIT_DENY)) |
Definition at line 157 of file traffic_action.h.
|
inline |
Definition at line 159 of file traffic_action.h.
|
inline |
Definition at line 160 of file traffic_action.h.
|
inlinevirtual |
Implements TrafficAction.
Definition at line 161 of file traffic_action.h.
|
private |