|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.9.0.2
|
Functions | |
| open_error_t | openapiMvrpIntfModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode) |
| Get the MVRP mode for the specified interface. | |
| open_error_t | openapiMvrpIntfModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode) |
| Set the MVRP mode for the given interface. | |
| open_error_t | openapiMvrpIntfTrafficPduCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MVRP_STATS_t type, uint32_t *counter) |
| Get the value of specified MVRP counter for an interface. | |
| open_error_t | openapiMvrpIntfVlanArrayGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MVRP_VLAN_TYPE_t vlanType, OPEN_VLAN_LIST_t *vlanList, uint32_t *count) |
| Get MVRP VLAN array on an interface. | |
| open_error_t | openapiMvrpIsValidIntfGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *isValid) |
| Check if the current interface is valid for MVRP. | |
| open_error_t | openapiMvrpModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode) |
| Get the global MVRP mode. | |
| open_error_t | openapiMvrpModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| set the global MVRP mode. | |
| open_error_t | openapiMvrpPeriodicStateMachineModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode) |
| Gets the MVRP periodic state machine mode. | |
| open_error_t | openapiMvrpPeriodicStateMachineModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| Sets the MVRP periodic state machine mode. | |
| open_error_t | openapiMvrpTrafficCountersClear (openapiClientHandle_t *client_handle) |
| Clear all MVRP traffic counters. | |
| open_error_t | openapiMvrpTrafficCountersPerIfClear (openapiClientHandle_t *client_handle, uint32_t intIfNum) |
| Clear MVRP traffic counters on specified interface. | |
| open_error_t | openapiMvrpTrafficGlobalCountersClear (openapiClientHandle_t *client_handle) |
| Clear global MVRP traffic counters. | |
| open_error_t | openapiMvrpTrafficPduCounterGet (openapiClientHandle_t *client_handle, OPEN_MVRP_STATS_t type, uint32_t *counter) |
| Get the value of specified MVRP counter. | |
| open_error_t | openapiMvrpValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *nextIfNum) |
| Given the current interface, get the next valid MVRP interface. | |
| open_error_t | openapiMvrpVlanArrayGet (openapiClientHandle_t *client_handle, OPEN_MVRP_VLAN_TYPE_t vlanType, OPEN_VLAN_LIST_t *vlanList, uint32_t *count) |
| Get MVRP VLAN array in the system. | |
| enum OPEN_MVRP_STATS_t |
Definition at line 50 of file openapi_mvrp.h.
Definition at line 44 of file openapi_mvrp.h.
| open_error_t openapiMvrpIntfModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t * | mode | ||
| ) |
Get the MVRP mode for the specified interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | mode | Interface MVRP admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpIntfModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t | mode | ||
| ) |
Set the MVRP mode for the given interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | mode | Interface MVRP admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpIntfTrafficPduCounterGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MVRP_STATS_t | type, | ||
| uint32_t * | counter | ||
| ) |
Get the value of specified MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpIntfVlanArrayGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MVRP_VLAN_TYPE_t | vlanType, | ||
| OPEN_VLAN_LIST_t * | vlanList, | ||
| uint32_t * | count | ||
| ) |
Get MVRP VLAN array on an interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [in] | vlanType | Flag to tell if vlan is Declared/Registered. |
| [out] | vlanList | MVRP VLAN List on the interface given. |
| [out] | count | Number of MVRP Vlans. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
| OPEN_E_INTERNAL | More than max allowed VLANs(4096) are returned by application/ Something is wrong internally. |
OpEN API Version: 1.20
| open_error_t openapiMvrpIsValidIntfGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t * | isValid | ||
| ) |
Check if the current interface is valid for MVRP.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | isValid | Flag to tell if Interface is valid MVRP interface. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | mode | ||
| ) |
Get the global MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
set the global MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpPeriodicStateMachineModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | mode | ||
| ) |
Gets the MVRP periodic state machine mode.
| [in] | client_handle | client handle from registration API |
| [out] | mode | Periodic state machine mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpPeriodicStateMachineModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
Sets the MVRP periodic state machine mode.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Periodic state machine mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpTrafficCountersClear | ( | openapiClientHandle_t * | client_handle | ) |
Clear all MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpTrafficCountersPerIfClear | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum | ||
| ) |
Clear MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpTrafficGlobalCountersClear | ( | openapiClientHandle_t * | client_handle | ) |
Clear global MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpTrafficPduCounterGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_MVRP_STATS_t | type, | ||
| uint32_t * | counter | ||
| ) |
Get the value of specified MVRP 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 | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpValidIntfNextGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | nextIfNum | ||
| ) |
Given the current interface, get the next valid MVRP interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Interface Number. |
| [out] | nextIfNum | Next valid MVRP Interface Number. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
OpEN API Version: 1.20
| open_error_t openapiMvrpVlanArrayGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_MVRP_VLAN_TYPE_t | vlanType, | ||
| OPEN_VLAN_LIST_t * | vlanList, | ||
| uint32_t * | count | ||
| ) |
Get MVRP VLAN array in the system.
| [in] | client_handle | client handle from registration API |
| [in] | vlanType | Flag to tell if vlan is Declared/Registered. |
| [out] | vlanList | MVRP VLAN List in the system. |
| [out] | count | Number of MVRP Vlans. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | MVRP feature is not supported. |
| OPEN_E_INTERNAL | More than max allowed VLANs(4096) are returned by application/ Something is wrong internally. |
OpEN API Version: 1.20