Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.4.4.5
openapi_ssh.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2016-2019 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 **********************************************************************
26 *
27 * @filename openapi_ssh.h
28 *
29 * @purpose SSH Configuration and Status
30 *
31 * @component OpEN
32 *
33 * @create 30/01/2013
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_SSH_H_INCLUDED
39 #define OPENAPI_SSH_H_INCLUDED
40 
41 #include "openapi_common.h"
42 #include "openapi_logging.h"
43 
45 typedef enum
46 {
50 
52 typedef enum
53 {
54  OPEN_SSH_PROTO_VERSION_1 = 0, /* SSH Protocol Version 1 option not supported */
58 
59 
60 /*****************************************************************/
80  OPEN_SSH_KEY_TYPE_t sshKeyType);
81 
82 /*****************************************************************/
100  OPEN_SSH_KEY_TYPE_t sshKeyType);
101 
102 /*****************************************************************/
122  OPEN_CONTROL_t sshAdminMode);
123 
124 /*****************************************************************/
140  OPEN_CONTROL_t *sshAdminMode);
141 
142 /*****************************************************************/
162  OPEN_SSH_PROTO_VERSION_t protoVersion);
163 
164 /*****************************************************************/
177  OPEN_SSH_PROTO_VERSION_t *protoVersion);
178 
179 /*****************************************************************/
197  uint32_t sshSessionTimeout);
198 
199 /*****************************************************************/
213  uint32_t *sshSessionTimeout);
214 
215 /*****************************************************************/
233  uint32_t sshMaxSessions);
234 
235 /*****************************************************************/
250 
251 /*****************************************************************/
264  uint32_t *sshMaxSessions);
265 
266 /*****************************************************************/
280  uint32_t *sshActiveSessions);
281 
282 /*****************************************************************/
296  uint32_t sshClientID);
297 
298 /*****************************************************************/
316  OPEN_SSH_KEY_TYPE_t sshKeyType);
317 
318 /*****************************************************************/
337  open_buffdesc *userName, open_buffdesc *password,
338  open_buffdesc *ipAddr, uint32_t sshClientID);
339 
340 /*****************************************************************/
358  open_buffdesc *userName, open_buffdesc *ipAddr,
359  uint32_t sshClientID);
360 
361 /*****************************************************************/
377  OPEN_CONTROL_t *sshdPubKeyAuthMode);
378 
379 /*****************************************************************/
397  OPEN_SSH_KEY_TYPE_t sshKeyType,
398  open_buffdesc *userName,
399  open_buffdesc *pubKey);
400 
401 /*****************************************************************/
417  OPEN_LOG_SEVERITY_t severity, open_buffdesc *fileName,
418  uint32_t lineNum, open_buffdesc *msgBuf);
419 
420 
421 /*****************************************************************/
435  open_buffdesc *userName,
436  open_buffdesc *password);
437 
438 
439 /*****************************************************************/
456  OPEN_CONTROL_t scpServerAdminMode);
457 
458 /*****************************************************************/
475  OPEN_CONTROL_t *scpServerAdminMode);
476 
477 /*****************************************************************/
513  int32_t scpClientPID,
514  open_buffdesc *fileParams);
515 
516 /*****************************************************************/
529 #endif
530