List of all members.
Public Attributes |
ofp_stats_types | type |
Member Function Documentation
void ns3::ofi::Stats::DoCleanup |
( |
void * |
state | ) |
|
Cleans any state created by the init or dump functions.
May not be implemented if no cleanup is required.
- Parameters:
-
state | State information to clear. |
Appends statistics for OpenFlowSwitchNetDevice to 'buffer'.
- Parameters:
-
- Returns:
- 1 if it should be called again later with another buffer, 0 if it is done, or a negative errno value on failure.
int ns3::ofi::Stats::DoInit |
( |
const void * |
body, |
|
|
int |
body_len, |
|
|
void ** |
state |
|
) |
| |
Prepares to dump some kind of statistics on the connected OpenFlowSwitchNetDevice.
- Parameters:
-
body | Body member of the struct ofp_stats_request. |
body_len | Length of the body member. |
state | State information. |
- Returns:
- 0 if successful, otherwise a negative error code.
The documentation for this class was generated from the following file:
- src/openflow/model/openflow-interface.h