Class for handling flow table actions. More...
#include "openflow-interface.h"
Static Public Member Functions | |
static void | Execute (ofp_action_type type, ofpbuf *buffer, sw_flow_key *key, const ofp_action_header *ah) |
Executes the action. More... | |
static bool | IsValidType (ofp_action_type type) |
static uint16_t | Validate (ofp_action_type type, size_t len, const sw_flow_key *key, const ofp_action_header *ah) |
Validates the action on whether its data is valid or not. More... | |
Class for handling flow table actions.
Definition at line 260 of file openflow-interface.h.
|
static |
Executes the action.
type | Type of action to execute. |
buffer | Buffer of the Packet if it's needed for the action. |
key | Matching key for the flow that is tied to this action. |
ah | Action's data header. |
Definition at line 498 of file openflow-interface.cc.
References set_dl_addr(), set_mpls_exp(), set_mpls_label(), set_nw_addr(), set_tp_port(), set_vlan_pcp(), set_vlan_vid(), strip_vlan(), and check-style-clang-format::type.
Referenced by ns3::ofi::ExecuteActions().
|
static |
type | Type of Flow Table Action. |
Definition at line 409 of file openflow-interface.cc.
References check-style-clang-format::type.
Referenced by ns3::ofi::ExecuteActions(), and ns3::ofi::ValidateActions().
|
static |
Validates the action on whether its data is valid or not.
type | Type of action to validate. |
len | Length of the action data. |
key | Matching key for the flow that is tied to this action. |
ah | Action's data header. |
Definition at line 432 of file openflow-interface.cc.
References check-style-clang-format::type.
Referenced by ns3::ofi::ValidateActions().