|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.9.0.2
|
Data Structures | |
| struct | OPEN_MSRP_RESERVATION_INFO_t |
| struct | OPEN_MSRP_STEAM_INFO_t |
Macros | |
| #define | OPEN_MSRP_INTF_MAX_COUNT 1024 |
| < Maximum number of MSRP interfaces in the system. | |
Functions | |
| open_error_t | openapiMsrpBoundaryPropagateModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode) |
| Get the MSRP boundary propagate mode. | |
| open_error_t | openapiMsrpBoundaryPropagateModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| Set the MSRP boundary propagate mode. | |
| open_error_t | openapiMsrpFailedRegistrationCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *counter) |
| Get Failed Registration Counter. | |
| open_error_t | openapiMsrpIntfModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *adminMode) |
| Get the MSRP mode for the specified interface. | |
| open_error_t | openapiMsrpIntfModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode) |
| Set the MSRP mode for the given interface. | |
| open_error_t | openapiMsrpIntfTrafficPduCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_STATS_t type, uint32_t *counter) |
| Get the value of specified MSRP counter for an interface. | |
| open_error_t | openapiMsrpIsBoundaryPortGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, OPEN_BOOL_t *isBoundary) |
| Check if a port is boundary port. | |
| open_error_t | openapiMsrpMaxFanInPortsGet (openapiClientHandle_t *client_handle, uint32_t *maxFanInPorts) |
| Get the maximum number of the ports, where MSRP registrations are allowed. | |
| open_error_t | openapiMsrpMaxFanInPortsSet (openapiClientHandle_t *client_handle, uint32_t maxFanInPorts) |
| Set the maximum number of the ports, where MSRP registrations are allowed. | |
| open_error_t | openapiMsrpModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode) |
| Get the global MSRP mode. | |
| open_error_t | openapiMsrpModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| set the global MSRP mode. | |
| open_error_t | openapiMsrpQavCurrentBandwidthGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint64_t *trClassA, uint64_t *trClassB, uint64_t *total) |
| Get the current used bandwidth values for the interface. | |
| open_error_t | openapiMsrpQavDeltaBandwidthGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *deltaClassA, uint32_t *deltaClassB) |
| Get the delta bandwidth values for the interface. | |
| open_error_t | openapiMsrpQavDeltaBandwidthSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trafficClass, uint32_t deltaBandwidth) |
| Get the delta bandwidth values for the interface. | |
| open_error_t | openapiMsrpQavMaxRateGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint64_t *trClassA, uint64_t *trClassB, uint64_t *total) |
| Get the max free bandwidth values for the interface. | |
| open_error_t | openapiMsrpReservationInformationGet (openapiClientHandle_t *client_handle, uint32_t streamId, uint32_t intIfNum, open_buffdesc *reservationInfo) |
| Get the MSRP Reservation Information. | |
| open_error_t | openapiMsrpSRclassPVIDGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *pvid) |
| Get the MSRP SR class PVID value on the interface. | |
| open_error_t | openapiMsrpSRclassPVIDSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t pvid) |
| Set the MSRP SR class PVID value on the interface. | |
| open_error_t | openapiMsrpSrQavPriorityGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t *priority) |
| Get the 802.1Qav priority. | |
| open_error_t | openapiMsrpSrQavPrioritySet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t priority) |
| Set the 802.1Qav priority. | |
| open_error_t | openapiMsrpSrQavRePriorityGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t *remap) |
| Get the 802.1Qav remapped priority. | |
| open_error_t | openapiMsrpSrQavRePrioritySet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MSRP_QAV_STREAMCLASS_t trClass, uint32_t remap) |
| Set the 802.1Qav remapped priority. | |
| open_error_t | openapiMsrpStreamIndexedNextGet (openapiClientHandle_t *client_handle, uint16_t currentIndex, uint16_t *nextIndex) |
| Given the next stream index to the given index. | |
| open_error_t | openapiMsrpStreamInformationGet (openapiClientHandle_t *client_handle, uint32_t streamId, open_buffdesc *streamInfo) |
| Get the MSRP Stream Information. | |
| open_error_t | openapiMsrpTalkerPruningModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode) |
| Get the MSRP talker pruning mode. | |
| open_error_t | openapiMsrpTalkerPruningModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| Set the MSRP talker pruning mode. | |
| open_error_t | openapiMsrpTrafficCountersClear (openapiClientHandle_t *client_handle) |
| Clear all MSRP traffic counters. | |
| open_error_t | openapiMsrpTrafficCountersPerIfClear (openapiClientHandle_t *client_handle, uint32_t intIfNum) |
| Clear MSRP traffic counters on specified interface. | |
| open_error_t | openapiMsrpTrafficPduCounterGet (openapiClientHandle_t *client_handle, OPEN_MSRP_STATS_t type, uint32_t *counter) |
| Get the value of specified MSRP counter. | |
| #define OPEN_MSRP_INTF_MAX_COUNT 1024 |
< Maximum number of MSRP interfaces in the system.
< call openapiMaxInterfaceCountGet() to get the number of interfaces in the system AVB standard defines 2 SR classes
Definition at line 45 of file openapi_msrp.h.
Definition at line 89 of file openapi_msrp.h.
Definition at line 48 of file openapi_msrp.h.
| enum OPEN_MSRP_STATS_t |
Definition at line 100 of file openapi_msrp.h.
| open_error_t openapiMsrpBoundaryPropagateModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the MSRP boundary propagate mode.
| [in] | client_handle | client handle from registration API |
| [out] | mode | Boundary propagate mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpBoundaryPropagateModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
Set the MSRP boundary propagate mode.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Boundary propagate mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpFailedRegistrationCounterGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | counter | ||
| ) |
Get Failed Registration Counter.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | counter | Counter value. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpIntfModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the MSRP mode for the specified interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | mode | Interface MSRP admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpIntfModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t | mode | ||
| ) |
Set the MSRP mode for the given interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | mode | Interface MSRP admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpIntfTrafficPduCounterGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_STATS_t | type, | ||
| uint32_t * | counter | ||
| ) |
Get the value of specified MSRP counter for an interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | type | Type of counter. |
| [out] | counter | Counter value. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpIsBoundaryPortGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trClass, | ||
| OPEN_BOOL_t * | isBoundary | ||
| ) |
Check if a port is boundary port.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trClass | EAV class. |
| [out] | isBoundary | Flag to check if the port is bondary port. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpMaxFanInPortsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | maxFanInPorts | ||
| ) |
Get the maximum number of the ports, where MSRP registrations are allowed.
| [in] | client_handle | client handle from registration API |
| [out] | maxFanInPorts | Number of the ports where MSRP registrations are allowed. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpMaxFanInPortsSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | maxFanInPorts | ||
| ) |
Set the maximum number of the ports, where MSRP registrations are allowed.
| [in] | client_handle | client handle from registration API |
| [in] | maxFanInPorts | Number of the ports where MSRP registrations are allowed. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the global MSRP mode.
| [in] | client_handle | client handle from registration API |
| [out] | mode | Global admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
set the global MSRP mode.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Global admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpQavCurrentBandwidthGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint64_t * | trClassA, | ||
| uint64_t * | trClassB, | ||
| uint64_t * | total | ||
| ) |
Get the current used bandwidth values for the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | trClassA | class A free bandwidth. |
| [out] | trClassB | class B free bandwidth. |
| [out] | total | Total free bandwidth. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpQavDeltaBandwidthGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | deltaClassA, | ||
| uint32_t * | deltaClassB | ||
| ) |
Get the delta bandwidth values for the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | deltaClassA | class A delta bandwidth. |
| [out] | deltaClassB | class B delta bandwidth. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpQavDeltaBandwidthSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trafficClass, | ||
| uint32_t | deltaBandwidth | ||
| ) |
Get the delta bandwidth values for the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trafficClass | Stream class (A or B). |
| [in] | deltaBandwidth | Delta bandwidth. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpQavMaxRateGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint64_t * | trClassA, | ||
| uint64_t * | trClassB, | ||
| uint64_t * | total | ||
| ) |
Get the max free bandwidth values for the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | trClassA | class A free bandwidth. |
| [out] | trClassB | class B free bandwidth. |
| [out] | total | Total free bandwidth. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpReservationInformationGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | streamId, | ||
| uint32_t | intIfNum, | ||
| open_buffdesc * | reservationInfo | ||
| ) |
Get the MSRP Reservation Information.
| [in] | client_handle | client handle from registration API |
| [in] | streamId | streamId. |
| [in] | intIfNum | Interface Number. |
| [out] | reservationInfo | Reservation information. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSRclassPVIDGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | pvid | ||
| ) |
Get the MSRP SR class PVID value on the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | pvid | SRclassPVID. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSRclassPVIDSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t | pvid | ||
| ) |
Set the MSRP SR class PVID value on the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | pvid | SRclassPVID. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSrQavPriorityGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trClass, | ||
| uint32_t * | priority | ||
| ) |
Get the 802.1Qav priority.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trClass | EAV class. |
| [out] | priority | Priority. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSrQavPrioritySet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trClass, | ||
| uint32_t | priority | ||
| ) |
Set the 802.1Qav priority.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trClass | EAV class. |
| [in] | priority | Priority. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSrQavRePriorityGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trClass, | ||
| uint32_t * | remap | ||
| ) |
Get the 802.1Qav remapped priority.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trClass | EAV class. |
| [out] | remap | Remapped priority. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpSrQavRePrioritySet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MSRP_QAV_STREAMCLASS_t | trClass, | ||
| uint32_t | remap | ||
| ) |
Set the 802.1Qav remapped priority.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | trClass | EAV class. |
| [in] | remap | Remapped priority. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpStreamIndexedNextGet | ( | openapiClientHandle_t * | client_handle, |
| uint16_t | currentIndex, | ||
| uint16_t * | nextIndex | ||
| ) |
Given the next stream index to the given index.
| [in] | client_handle | client handle from registration API |
| [in] | currentIndex | Present index. |
| [out] | nextIndex | Next index. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpStreamInformationGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | streamId, | ||
| open_buffdesc * | streamInfo | ||
| ) |
Get the MSRP Stream Information.
| [in] | client_handle | client handle from registration API |
| [in] | streamId | Stream id. |
| [out] | streamInfo | Stream information. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpTalkerPruningModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the MSRP talker pruning mode.
| [in] | client_handle | client handle from registration API |
| [out] | mode | Talker pruning mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpTalkerPruningModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
Set the MSRP talker pruning mode.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Talker pruning mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpTrafficCountersClear | ( | openapiClientHandle_t * | client_handle | ) |
Clear all MSRP traffic counters.
| [in] | client_handle | client handle from registration API |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpTrafficCountersPerIfClear | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum | ||
| ) |
Clear MSRP traffic counters on specified interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMsrpTrafficPduCounterGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_MSRP_STATS_t | type, | ||
| uint32_t * | counter | ||
| ) |
Get the value of specified MSRP counter.
| [in] | client_handle | client handle from registration API |
| [in] | type | Type of counter. |
| [out] | counter | Counter value. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MSRP feature is not supported. |
OpEN API Version: 1.20