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