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. | |
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. | |
Class for handling flow table actions.
Definition at line 249 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 487 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(), and strip_vlan().
Referenced by ns3::ofi::ExecuteActions().
|
static |
type | Type of Flow Table Action. |
Definition at line 398 of file openflow-interface.cc.
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 421 of file openflow-interface.cc.
Referenced by ns3::ofi::ValidateActions().