|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.13.1.2
|
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... | |
Definition at line 41 of file openapi_green_ethernet.h.
| open_error_t openapiGreenEthrEnergyDetectAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t * | mode | ||
| ) |
Get the energy detect admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | mode | admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrEnergyDetectModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_CONTROL_t | mode | ||
| ) |
Set the energy-detect mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | mode | energy detect mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | oprStatus | operational status |
| [out] | reason | reason |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | oprStatus | operational status |
| [out] | reasonStr | reason string |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrGlobalEnergyDetectModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the global energy detect administrative mode.
| [in] | client_handle | client handle from registration API |
| [out] | adminMode | global energy detect admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrGlobalEnergyDetectModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | adminMode | ||
| ) |
Set the global energy detect administrative mode.
| [in] | client_handle | client handle from registration API |
| [in] | adminMode | global energy detect admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrGlobalShortReachModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the global auto short reach administrative mode.
| [in] | client_handle | client handle from registration API |
| [out] | adminMode | global auto short reach admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrGlobalShortReachModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | adminMode | ||
| ) |
Set the global auto short reach administrative mode.
| [in] | client_handle | client handle from registration API |
| [in] | adminMode | global auto short reach admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrIsIntfEEECapable | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t * | valid | ||
| ) |
Determine if the interface is EEE capable.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | valid | EEE capable or not |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
OpEN API Version: 1.26
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | valid | valid or not |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrShrtRchAutoAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t * | mode | ||
| ) |
Get the short-reach auto admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | mode | admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrShrtRchAutoModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t | mode | ||
| ) |
Set the short-reach auto mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | mode | short reach auto mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrShrtRchForceAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t * | mode | ||
| ) |
Get the short-reach force admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | mode | admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrShrtRchForceModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t | mode | ||
| ) |
Set the short-reach into force mode.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | mode | force mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | oprStatus | operational status |
| [out] | reason | reason |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | oprStatus | operational status |
| [out] | bufd | reason string |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
| OPEN_E_UNAVAIL | Not available. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrValidIntfFirstGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | intIfNum | ||
| ) |
Get the first interface that is valid for green ethernet.
| [in] | client_handle | client handle from registration API |
| [out] | intIfNum | internal interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
OpEN API Version: 1.26
| open_error_t openapiGreenEthrValidIntfNextGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | prevIfNum, | ||
| uint32_t * | intIfNum | ||
| ) |
Get the next interface that is valid for green ethernet.
| [in] | client_handle | client handle from registration API |
| [in] | prevIfNum | previous interface number |
| [out] | intIfNum | internal interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_INTERNAL | Internal error. |
OpEN API Version: 1.26