Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.12.0.1
Macros | Functions
openapi_protectedport.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

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...