38 #ifndef OPENAPI_PROTECTEDPORT_H_INCLUDED
39 #define OPENAPI_PROTECTEDPORT_H_INCLUDED
44 #define OPEN_PROTECTED_PORT_GROUP_NAME_SIZE 49
61 uint32_t *maxGroupNum);
119 uint32_t *intfCount);
160 uint32_t ifNum, uint32_t *groupId);
180 uint32_t ifNum, uint32_t groupId,
182 uint32_t *NextGroupId);
201 uint32_t ifNum, uint32_t groupId);
220 uint32_t ifNum, uint32_t groupId);
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.
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.
open_error_t openapiProtectedPortGroupGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *groupId)
Get the group ID for a given interface.
open_error_t openapiProtectedPortGroupIntfAdd(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId)
Add an interface to a protected port group.
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.
open_error_t
OPEN uses these enumerators to indicate the error codes.
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.
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.
open_error_t openapiProtectedPortGroupIntfDelete(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t groupId)
Delete an interface from a protected port group.
open_error_t openapiProtectedPortMaxGroups(openapiClientHandle_t *client_handle, uint32_t *maxGroupNum)
Get the maximum number of protected port groups.