|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
| open_error_t openapiAgentTelnetAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | pMode | ||
| ) |
Gets admin mode of telnet session.
| [in] | client_handle | client handle from registration API |
| [out] | pMode | Telnet access Mode [Enable/Disable] |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetAdminModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | mode | ||
| ) |
Sets admin mode of telnet Session.
| [in] | client_handle | client handle from registration API |
| [in] | mode | Telnet Access Mode [Enable/Disable] |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetCurrentNumSessionsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | pSession | ||
| ) |
Gets current active number of telnet sessions.
| [in] | client_handle | client handle from registration API |
| [out] | pSession | current active telnet sessions count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetNewSessionsGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | pState | ||
| ) |
Gets new telnet session acceptance state.
| [in] | client_handle | client handle from registration API |
| [out] | pState | Telnet access Mode [Enable/Disable] |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetNewSessionsSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | state | ||
| ) |
Sets new telnet sessions acceptance state.
| [in] | client_handle | client handle from registration API |
| [in] | state | Acceptance state of new telnet sessions[Enable/Disable] |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetNumSessionsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | pSession | ||
| ) |
Gets maximum number of telnet sessions.
| [in] | client_handle | client handle from registration API |
| [out] | pSession | maximum allowable number of configured telnet sessions |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetNumSessionsSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | maxSession | ||
| ) |
Sets maximum number of telnet sessions.
| [in] | client_handle | client handle from registration API |
| [in] | maxSession | maximum allowable number of telnet sessions |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetTimeoutGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | pTimeout | ||
| ) |
Gets telnet session timeout information.
| [in] | client_handle | client handle from registration API |
| [out] | pTimeout | Telnet session timeout |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiAgentTelnetTimeoutSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | timeout | ||
| ) |
Sets telnet session timeout (in minutes).
| [in] | client_handle | client handle from registration API |
| [in] | timeout | telnet session timeout |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiSwDevCtrlTelnetMgmtPortNumGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | pPort | ||
| ) |
Gets telnet access port number.
| [in] | client_handle | client handle from registration API |
| [out] | pPort | telnet access port number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiSwDevCtrlTelnetMgmtPortNumSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | port, | ||
| OPEN_BOOL_t | flag | ||
| ) |
Sets the port-number for Telnet Access.
| [in] | client_handle | client handle from registration API |
| [in] | port | Telnet Access port-number |
| [in] | flag | Flag indicates if the port number needs to be applied immediately |
| OPEN_E_EXISTS | Operation failed due to port number already in use. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25