Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.12.0.1
Functions
Green Mode EEE API [OPENAPI_GREEN_ETHERNET_EEE_API]

Functions

open_error_t openapiGreenEthrEeeAdminModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *adminMode)
 Get EEE admin mode. More...
 
open_error_t openapiGreenEthrEeeAdminModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t adminMode)
 Set EEE administrative mode. More...
 
open_error_t openapiGreenEthrEeeEchoRxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *echoRxTwsys)
 Get the port's EEE echo receive Twsys. More...
 
open_error_t openapiGreenEthrEeeEchoTxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *echoTxTwsys)
 Get the port's EEE echo transmit Twsys. More...
 
open_error_t openapiGreenEthrEeeFbTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *fbTwsys)
 Get the port's EEE fallback receive Twsys. More...
 
open_error_t openapiGreenEthrEeeIsValidIntf (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *valid)
 Determine if the interface is valid. More...
 
open_error_t openapiGreenEthrEeeLocalSummaryGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *twSysTx, uint32_t *twSysTxEcho, uint32_t *twSysRx, uint32_t *twSysRxEcho, uint32_t *twSysTxFallback, uint32_t *txDllEnabled, uint32_t *txDllReady, uint32_t *rxDllEnabled, uint32_t *rxDllReady)
 Get some common green ethernet eee counters for the given local interface. More...
 
open_error_t openapiGreenEthrEeeRemFbTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t remIndex, uint32_t timestamp, uint32_t *remFbTwsys)
 Get the remote port's EEE fallback Twsys. More...
 
open_error_t openapiGreenEthrEeeRemoteSummaryGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *twSysTx, uint32_t *twSysTxEcho, uint32_t *twSysRx, uint32_t *twSysRxEcho, uint32_t *twSysTxFallback)
 Get some common green ethernet eee counters for the given remote interface. More...
 
open_error_t openapiGreenEthrEeeRemRxTwsysEchoGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t remIndex, uint32_t timestamp, uint32_t *remRxTwsysEcho)
 Get the remote port's EEE receive Twsys echo. More...
 
open_error_t openapiGreenEthrEeeRemRxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t remIndex, uint32_t timestamp, uint32_t *remRxTwsys)
 Get the remote port's EEE receive Twsys. More...
 
open_error_t openapiGreenEthrEeeRemTxTwsysEchoGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t remIndex, uint32_t timestamp, uint32_t *remTxTwsysEcho)
 Get the remote port's EEE transmit Twsys echo. More...
 
open_error_t openapiGreenEthrEeeRemTxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t remIndex, uint32_t timestamp, uint32_t *remTxTwsys)
 Get the remote port's EEE transmit Twsys. More...
 
open_error_t openapiGreenEthrEeeRxDllEnableGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *enable)
 Get the receive DLL enable status. More...
 
open_error_t openapiGreenEthrEeeRxDllReadyGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *ready)
 Get the receive DLL ready status. More...
 
open_error_t openapiGreenEthrEeeRxDurationGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *high, uint32_t *low)
 Get EEE receive LPI duration (counts in 10usec increments) More...
 
open_error_t openapiGreenEthrEeeRxEventsGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *count)
 Get EEE receive LPI event count. More...
 
open_error_t openapiGreenEthrEeeRxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *rxTwsys)
 Get EEE receive Tw_sys (uSec) More...
 
open_error_t openapiGreenEthrEeeStatisticsClear (openapiClientHandle_t *client_handle, uint32_t intIfNum)
 Clear EEE statistics counters. More...
 
open_error_t openapiGreenEthrEeeTimeSinceLastStatsResetGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint64_t *value)
 Determine time of last stats reset. More...
 
open_error_t openapiGreenEthrEeeTotalLpiTimeGet (openapiClientHandle_t *client_handle, uint32_t *lpiTotalTime)
 Get percentage of total LPI time spent for all interfaces in stack. More...
 
open_error_t openapiGreenEthrEeeTxDllEnableGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *enable)
 Get the transmit DLL enable status. More...
 
open_error_t openapiGreenEthrEeeTxDllReadyGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *ready)
 Get the transmit DLL ready status. More...
 
open_error_t openapiGreenEthrEeeTxDurationGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *high, uint32_t *low)
 Get EEE transmit LPI duration (counts in 10usec increments) More...
 
open_error_t openapiGreenEthrEeeTxEventsGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *count)
 Get EEE transmit LPI event count. More...
 
open_error_t openapiGreenEthrEeeTxIdleTimeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *eeeTxIdleTime)
 Get EEE transmit Idle Time. More...
 
open_error_t openapiGreenEthrEeeTxIdleTimeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t eeeTxIdleTime)
 Set EEE transmit idle time. More...
 
open_error_t openapiGreenEthrEeeTxTwsysGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *txTwsys)
 Get EEE transmit Tw_sys (uSec) More...
 
open_error_t openapiGreenEthrEeeTxWakeTimeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *eeeTxWakeTime)
 Get EEE transmit Wake Time. More...
 
open_error_t openapiGreenEthrEeeTxWakeTimeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t eeeTxWakeTime)
 Set EEE transmit wake time. More...
 
open_error_t openapiGreenEthrEeeValidIntfFirstGet (openapiClientHandle_t *client_handle, uint32_t *intIfNum)
 Get the first interface that is valid for green Ethernet EEE. More...
 
open_error_t openapiGreenEthrEeeValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t prevIfNum, uint32_t *intIfNum)
 Get the next interface that is valid for Green Ethernet EEE. More...
 
open_error_t openapiGreenEthrFeaturesSupportedGet (openapiClientHandle_t *client_handle, uint32_t unit, open_buffdesc *featureString)
 Get the port's green feature list supported. More...
 
open_error_t openapiGreenEthrGlobalEeeAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Get the global EEE administrative mode. More...
 
open_error_t openapiGreenEthrGlobalEeeAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Set the global EEE administrative mode. More...
 
open_error_t openapixGreenEthrEeeTimeSinceLastStatsResetGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *days, uint32_t *hours, uint32_t *minutes, uint32_t *seconds)
 Determine time of last stats reset. More...
 

Detailed Description

Function Documentation

open_error_t openapiGreenEthrEeeAdminModeGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_CONTROL_t adminMode 
)

Get EEE admin mode.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]adminModeadmin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeAdminModeSet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_CONTROL_t  adminMode 
)

Set EEE administrative mode.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]adminModeadmin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeEchoRxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  echoRxTwsys 
)

Get the port's EEE echo receive Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]echoRxTwsysecho receive Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeEchoTxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  echoTxTwsys 
)

Get the port's EEE echo transmit Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]echoTxTwsysecho transmit Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeFbTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  fbTwsys 
)

Get the port's EEE fallback receive Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]fbTwsysfallback receive Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeIsValidIntf ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_BOOL_t valid 
)

Determine if the interface is valid.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]validvalid interface
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeLocalSummaryGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  twSysTx,
uint32_t *  twSysTxEcho,
uint32_t *  twSysRx,
uint32_t *  twSysRxEcho,
uint32_t *  twSysTxFallback,
uint32_t *  txDllEnabled,
uint32_t *  txDllReady,
uint32_t *  rxDllEnabled,
uint32_t *  rxDllReady 
)

Get some common green ethernet eee counters for the given local interface.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]twSysTxtransmit Twsys
[out]twSysTxEchoecho transmit Twsys
[out]twSysRxreceive Twsys
[out]twSysRxEchoecho receive Twsys
[out]twSysTxFallbackfallback Twsys
[out]txDllEnabledtransmit dll enable
[out]txDllReadytransmit dll ready
[out]rxDllEnabledreceive dll enable
[out]rxDllReadyreceive dll ready
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemFbTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  remIndex,
uint32_t  timestamp,
uint32_t *  remFbTwsys 
)

Get the remote port's EEE fallback Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]remIndexindex associated with this remote entry
[in]timestamptime stamp associated with this entry
[out]remFbTwsysremote fallback Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemoteSummaryGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  twSysTx,
uint32_t *  twSysTxEcho,
uint32_t *  twSysRx,
uint32_t *  twSysRxEcho,
uint32_t *  twSysTxFallback 
)

Get some common green ethernet eee counters for the given remote interface.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]twSysTxtransmit Twsys
[out]twSysTxEchoecho transmit Twsys
[out]twSysRxreceive Twsys
[out]twSysRxEchoecho receive Twsys
[out]twSysTxFallbackfallback Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemRxTwsysEchoGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  remIndex,
uint32_t  timestamp,
uint32_t *  remRxTwsysEcho 
)

Get the remote port's EEE receive Twsys echo.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]remIndexindex associated with this remote entry
[in]timestamptime stamp associated with this entry
[out]remRxTwsysEchoremote receive Twsys echo
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemRxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  remIndex,
uint32_t  timestamp,
uint32_t *  remRxTwsys 
)

Get the remote port's EEE receive Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNumInternal Interface Number
[in]remIndexindex associated with this remote entry
[in]timestamptime stamp associated with this entry
[out]remRxTwsysremote receive Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemTxTwsysEchoGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  remIndex,
uint32_t  timestamp,
uint32_t *  remTxTwsysEcho 
)

Get the remote port's EEE transmit Twsys echo.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]remIndexIndex associated with this remote entry
[in]timestamptime stamp associated with this entry
[out]remTxTwsysEchoremote transmit Twsys echo
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRemTxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  remIndex,
uint32_t  timestamp,
uint32_t *  remTxTwsys 
)

Get the remote port's EEE transmit Twsys.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]remIndexindex associated with this remote entry
[in]timestamptime stamp associated with this entry
[out]remTxTwsysremote transmit Twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRxDllEnableGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_BOOL_t enable 
)

Get the receive DLL enable status.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]enableOPEN_TRUE if DLL is enabled OPEN_FALSE otherwise
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRxDllReadyGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_BOOL_t ready 
)

Get the receive DLL ready status.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]readyOPEN_TRUE if DLL is enabled OPEN_FALSE otherwise
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRxDurationGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  high,
uint32_t *  low 
)

Get EEE receive LPI duration (counts in 10usec increments)

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]highhigh word of duration in uSec
[out]lowlow word of duration in uSec
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRxEventsGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  count 
)

Get EEE receive LPI event count.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]countEEE Recieve event count
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeRxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  rxTwsys 
)

Get EEE receive Tw_sys (uSec)

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]rxTwsysreceive twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeStatisticsClear ( openapiClientHandle_t client_handle,
uint32_t  intIfNum 
)

Clear EEE statistics counters.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTimeSinceLastStatsResetGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint64_t *  value 
)

Determine time of last stats reset.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]valuetime in seconds
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTotalLpiTimeGet ( openapiClientHandle_t client_handle,
uint32_t *  lpiTotalTime 
)

Get percentage of total LPI time spent for all interfaces in stack.

Parameters
[in]client_handleclient handle from registration API
[out]lpiTotalTimeLPI total time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxDllEnableGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_BOOL_t enable 
)

Get the transmit DLL enable status.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]enableOPEN_TRUE if DLL is enabled OPEN_FALSE otherwise
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxDllReadyGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
OPEN_BOOL_t ready 
)

Get the transmit DLL ready status.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]readyOPEN_TRUE if DLL is enabled OPEN_FALSE otherwise
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxDurationGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  high,
uint32_t *  low 
)

Get EEE transmit LPI duration (counts in 10usec increments)

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]highhigh word of duration in uSec
[out]lowlow word of duration in uSec
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxEventsGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  count 
)

Get EEE transmit LPI event count.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]countEEE Transmit LPI event count
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxIdleTimeGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  eeeTxIdleTime 
)

Get EEE transmit Idle Time.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]eeeTxIdleTimeEEE Transmit Idle Time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxIdleTimeSet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  eeeTxIdleTime 
)

Set EEE transmit idle time.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]eeeTxIdleTimeEEE Transmit Idle Time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxTwsysGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  txTwsys 
)

Get EEE transmit Tw_sys (uSec)

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]txTwsystransmit twsys
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxWakeTimeGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  eeeTxWakeTime 
)

Get EEE transmit Wake Time.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]eeeTxWakeTimeEEE Transmit Wake Time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeTxWakeTimeSet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t  eeeTxWakeTime 
)

Set EEE transmit wake time.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[in]eeeTxWakeTimeEEE Transmit Wake Time
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeValidIntfFirstGet ( openapiClientHandle_t client_handle,
uint32_t *  intIfNum 
)

Get the first interface that is valid for green Ethernet EEE.

Parameters
[in]client_handleclient handle from registration API
[out]intIfNuminternal interface number
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrEeeValidIntfNextGet ( openapiClientHandle_t client_handle,
uint32_t  prevIfNum,
uint32_t *  intIfNum 
)

Get the next interface that is valid for Green Ethernet EEE.

Parameters
[in]client_handleclient handle from registration API
[in]prevIfNumprevious interface number
[out]intIfNuminternal interface number
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrFeaturesSupportedGet ( openapiClientHandle_t client_handle,
uint32_t  unit,
open_buffdesc featureString 
)

Get the port's green feature list supported.

Parameters
[in]client_handleclient handle from registration API
[in]unitunit number
[out]featureStringfeature string
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.

OpEN API Version: 1.26

open_error_t openapiGreenEthrGlobalEeeAdminModeGet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t adminMode 
)

Get the global EEE administrative mode.

Parameters
[in]client_handleclient handle from registration API
[out]adminModeglobal EEE admin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapiGreenEthrGlobalEeeAdminModeSet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t  adminMode 
)

Set the global EEE administrative mode.

Parameters
[in]client_handleclient handle from registration API
[in]adminModeglobal EEE admin mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.
OPEN_E_UNAVAILNot available.

OpEN API Version: 1.26

Examples:
eee_example.c.
open_error_t openapixGreenEthrEeeTimeSinceLastStatsResetGet ( openapiClientHandle_t client_handle,
uint32_t  intIfNum,
uint32_t *  days,
uint32_t *  hours,
uint32_t *  minutes,
uint32_t *  seconds 
)

Determine time of last stats reset.

Parameters
[in]client_handleclient handle from registration API
[in]intIfNuminternal interface number
[out]daysPointer to days
[out]hoursPointer to hours
[out]minutesPointer to minutes
[out]secondsPointer to seconds
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.
OPEN_E_INTERNALInternal error.

OpEN API Version: 1.26

Examples:
eee_example.c.