Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.13.1.2
Enumerations | Functions
openapi_green_ethernet.h File Reference

Go to the source code of this file.

Enumerations

enum  OPEN_GREEN_ETH_OPER_STATUS_t {
  OPEN_GREENETHR_ADMIN_DOWN, OPEN_GREENETHR_FIBER_PORT, OPEN_GREENETHR_LINK_UP, OPEN_GREENETHR_LINK_DOWN,
  OPEN_GREENETHR_LONG_CABLE, OPEN_GREENETHR_SHORT_CABLE, OPEN_GREENETHR_UNKWN_CABLE_LEN, OPEN_GREENETHR_NO_ENERGY,
  OPEN_GREENETHR_FORCED, OPEN_GREENETHR_NOT1GIG, OPEN_GREENETHR_NOT_ATTACHED, OPEN_GREENETHR_INVALID_VAL
}
 

Functions

open_error_t openapiGreenEthrEnergyDetectAdminModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode)
 Get the energy detect admin mode. More...
 
open_error_t openapiGreenEthrEnergyDetectModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode)
 Set the energy-detect mode. More...
 
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. More...
 
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. More...
 
open_error_t openapiGreenEthrGlobalEnergyDetectModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the global energy detect administrative mode. More...
 
open_error_t openapiGreenEthrGlobalEnergyDetectModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Set the global energy detect administrative mode. More...
 
open_error_t openapiGreenEthrGlobalShortReachModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the global auto short reach administrative mode. More...
 
open_error_t openapiGreenEthrGlobalShortReachModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Set the global auto short reach administrative mode. More...
 
open_error_t openapiGreenEthrIsIntfEEECapable (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *valid)
 Determine if the interface is EEE capable. More...
 
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. More...
 
open_error_t openapiGreenEthrShrtRchAutoAdminModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *mode)
 Get the short-reach auto admin mode. More...
 
open_error_t openapiGreenEthrShrtRchAutoModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t mode)
 Set the short-reach auto mode. More...
 
open_error_t openapiGreenEthrShrtRchForceAdminModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *mode)
 Get the short-reach force admin mode. More...
 
open_error_t openapiGreenEthrShrtRchForceModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t mode)
 Set the short-reach into force mode. More...
 
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. More...
 
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. More...
 
open_error_t openapiGreenEthrValidIntfFirstGet (openapiClientHandle_t *client_handle, uint32_t *intIfNum)
 Get the first interface that is valid for green ethernet. More...
 
open_error_t openapiGreenEthrValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t prevIfNum, uint32_t *intIfNum)
 Get the next interface that is valid for green ethernet. More...