Class for handling flow table actions.  
 More...
#include "openflow-interface.h"
 | 
| 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 223 of file openflow-interface.h.
 
  
  
      
        
          | static void ns3::ofi::Action::Execute  | 
          ( | 
          ofp_action_type  | 
          type,  | 
         
        
           | 
           | 
          ofpbuf *  | 
          buffer,  | 
         
        
           | 
           | 
          sw_flow_key *  | 
          key,  | 
         
        
           | 
           | 
          const ofp_action_header *  | 
          ah  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Executes the action. 
- Parameters
 - 
  
    | 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.  | 
  
   
 
 
  
  
      
        
          | static bool ns3::ofi::Action::IsValidType  | 
          ( | 
          ofp_action_type  | 
          type | ) | 
           | 
         
       
   | 
  
static   | 
  
 
- Parameters
 - 
  
    | type | Type of Flow Table Action.  | 
  
   
- Returns
 - true if the provided type is a type of flow table action. 
 
 
 
  
  
      
        
          | static uint16_t ns3::ofi::Action::Validate  | 
          ( | 
          ofp_action_type  | 
          type,  | 
         
        
           | 
           | 
          size_t  | 
          len,  | 
         
        
           | 
           | 
          const sw_flow_key *  | 
          key,  | 
         
        
           | 
           | 
          const ofp_action_header *  | 
          ah  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Validates the action on whether its data is valid or not. 
- Parameters
 - 
  
    | 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.  | 
  
   
- Returns
 - ACT_VALIDATION_OK if the action checks out, otherwise an error type. 
 
 
 
The documentation for this struct was generated from the following file: