38 #ifndef OPENAPI_GREEN_ETHERNET_H
39 #define OPENAPI_GREEN_ETHERNET_H
open_error_t openapiGreenEthrEnergyDetectOprStatusGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *oprStatus, OPEN_GREEN_ETH_OPER_STATUS_t *reason)
Get the energy-detect operational status and reason.
open_error_t openapiGreenEthrGlobalShortReachModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
Set the global auto short reach administrative mode.
open_error_t openapiGreenEthrValidIntfFirstGet(openapiClientHandle_t *client_handle, uint32_t *intIfNum)
Get the first interface that is valid for green ethernet.
open_error_t openapiGreenEthrEnergyDetectOprStatusStrGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *oprStatus, open_buffdesc *reasonStr)
Get the energy-detect operational status and reason.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiGreenEthrGlobalShortReachModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Get the global auto short reach administrative mode.
open_error_t openapiGreenEthrGlobalEnergyDetectModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Get the global energy detect administrative mode.
open_error_t openapiGreenEthrShrtRchAutoModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t mode)
Set the short-reach auto mode.
open_error_t openapiGreenEthrShrtRchForceAdminModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *mode)
Get the short-reach force admin mode.
open_error_t openapiGreenEthrValidIntfNextGet(openapiClientHandle_t *client_handle, uint32_t prevIfNum, uint32_t *intIfNum)
Get the next interface that is valid for green ethernet.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiGreenEthrEnergyDetectAdminModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode)
Get the energy detect admin mode.
open_error_t openapiGreenEthrIsValidIntfType(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *valid)
Determine if the interface is valid for green ethernet operation.
open_error_t openapiGreenEthrIsIntfEEECapable(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *valid)
Determine if the interface is EEE capable.
open_error_t openapiGreenEthrShrtRchOprStatusStrGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *oprStatus, open_buffdesc *bufd)
Get the short-reach operational status and reason.
open_error_t openapiGreenEthrShrtRchForceModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t mode)
Set the short-reach into force mode.
open_error_t openapiGreenEthrShrtRchAutoAdminModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *mode)
Get the short-reach auto admin mode.
open_error_t openapiGreenEthrGlobalEnergyDetectModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
Set the global energy detect administrative mode.
OPEN_GREEN_ETH_OPER_STATUS_t
open_error_t openapiGreenEthrShrtRchOprStatusGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *oprStatus, OPEN_GREEN_ETH_OPER_STATUS_t *reason)
Get the short-reach operational status and reason.
open_error_t openapiGreenEthrEnergyDetectModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode)
Set the energy-detect mode.