A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
openflow-interface.cc File Reference
+ Include dependency graph for openflow-interface.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::ofi
 

Macros

#define MAX_FLOW_STATS_BYTES   4096
 

Functions

void ns3::ofi::ExecuteActions (Ptr< OpenFlowSwitchNetDevice > swtch, uint64_t packet_uid, ofpbuf *buffer, sw_flow_key *key, const ofp_action_header *actions, size_t actions_len, int ignore_no_fwd)
 Executes a list of flow table actions.
 
void ns3::ofi::ExecuteVendor (ofpbuf *buffer, const sw_flow_key *key, const ofp_action_header *ah)
 Executes a vendor-defined action.
 
void ns3::ofi::ExecuteVPortActions (Ptr< OpenFlowSwitchNetDevice > swtch, uint64_t packet_uid, ofpbuf *buffer, sw_flow_key *key, const ofp_action_header *actions, size_t actions_len)
 Executes a list of virtual port table entry actions.
 
int ns3::ofi::Stats_AggregateDumpCallback (sw_flow *flow, void *state)
 
int ns3::ofi::Stats_FlowDumpCallback (sw_flow *flow, void *state)
 
uint16_t ns3::ofi::ValidateActions (const sw_flow_key *key, const ofp_action_header *actions, size_t actions_len)
 Validates a list of flow table actions.
 
uint16_t ns3::ofi::ValidateVendor (const sw_flow_key *key, const ofp_action_header *ah, uint16_t len)
 Validates a vendor-defined action.
 
uint16_t ns3::ofi::ValidateVPortActions (const ofp_action_header *actions, size_t actions_len)
 Validates a list of virtual port table entry actions.
 

Macro Definition Documentation

◆ MAX_FLOW_STATS_BYTES

#define MAX_FLOW_STATS_BYTES   4096