|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.12.0.1
|
Macros | |
| #define | OPEN_PROTECTED_PORT_GROUP_NAME_SIZE 49 |
Functions | |
| open_error_t | openapiProtectedPortGroupGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *groupId) |
| Get the group ID for a given interface. More... | |
| open_error_t | openapiProtectedPortGroupIntfAdd (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId) |
| Add an interface to a protected port group. More... | |
| open_error_t | openapiProtectedPortGroupIntfCountGet (openapiClientHandle_t *client_handle, uint32_t groupId, uint32_t *intfCount) |
| Get the number of protected ports which are members of a given group ID. More... | |
| open_error_t | openapiProtectedPortGroupIntfDelete (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId) |
| Delete an interface from a protected port group. More... | |
| open_error_t | openapiProtectedPortGroupIntfListGet (openapiClientHandle_t *client_handle, uint32_t groupId, open_buffdesc *intfList) |
| Get all the protected ports which are members of a given group ID. More... | |
| open_error_t | openapiProtectedPortGroupNameGet (openapiClientHandle_t *client_handle, uint32_t groupId, open_buffdesc *groupName) |
| Get the name of the group for a given group ID. More... | |
| open_error_t | openapiProtectedPortGroupNameSet (openapiClientHandle_t *client_handle, uint32_t groupId, open_buffdesc *groupName) |
| Set the name of the group for a given group ID. More... | |
| open_error_t | openapiProtectedPortMaxGroups (openapiClientHandle_t *client_handle, uint32_t *maxGroupNum) |
| Get the maximum number of protected port groups. More... | |
| open_error_t | openapiProtectedPortNextGroupGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId, uint32_t *NextIfNum, uint32_t *NextGroupId) |
| Get the next group and interface for a given group and interface. More... | |
| open_error_t openapiProtectedPortGroupGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | groupId | ||
| ) |
Get the group ID for a given interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface |
| [out] | groupId | Group identifier |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupIntfAdd | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t | groupId | ||
| ) |
Add an interface to a protected port group.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface |
| [in] | groupId | Group identifier |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupIntfCountGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | groupId, | ||
| uint32_t * | intfCount | ||
| ) |
Get the number of protected ports which are members of a given group ID.
| [in] | client_handle | client handle from registration API |
| [in] | groupId | Group identifier |
| [out] | intfCount | Number of interfaces |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupIntfDelete | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t | groupId | ||
| ) |
Delete an interface from a protected port group.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface |
| [in] | groupId | Group identifier |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupIntfListGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | groupId, | ||
| open_buffdesc * | intfList | ||
| ) |
Get all the protected ports which are members of a given group ID.
| [in] | client_handle | client handle from registration API |
| [in] | groupId | Group identifier |
| [out] | intfList | List of interfaces with comma separation |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupNameGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | groupId, | ||
| open_buffdesc * | groupName | ||
| ) |
Get the name of the group for a given group ID.
| [in] | client_handle | client handle from registration API |
| [in] | groupId | Group identifier |
| [out] | groupName | Name of the group |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortGroupNameSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | groupId, | ||
| open_buffdesc * | groupName | ||
| ) |
Set the name of the group for a given group ID.
| [in] | client_handle | client handle from registration API |
| [in] | groupId | Group identifier |
| [in] | groupName | Name of the group |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortMaxGroups | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | maxGroupNum | ||
| ) |
Get the maximum number of protected port groups.
| [in] | client_handle | client handle from registration API |
| [out] | maxGroupNum | Group number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiProtectedPortNextGroupGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t | groupId, | ||
| uint32_t * | NextIfNum, | ||
| uint32_t * | NextGroupId | ||
| ) |
Get the next group and interface for a given group and interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface |
| [in] | groupId | Group identifier |
| [out] | NextIfNum | Next interface |
| [out] | NextGroupId | Next group identifier |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26