Embedded TCP/IP stack: fnet_telnet_config.h Source File

FNET

fnet_telnet_config.h
1 /**************************************************************************
2 *
3 * Copyright 2011-2016 by Andrey Butok. FNET Community.
4 * Copyright 2008-2010 by Andrey Butok. Freescale Semiconductor, Inc.
5 *
6 ***************************************************************************
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License"); you may
9 * not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 ***************************************************************************
21 *
22 * FNET Telnet Server configuration file.
23 *
24 ***************************************************************************/
25 
26 /**************************************************************************
27  * !!!DO NOT MODIFY THIS FILE!!!
28  **************************************************************************/
29 
30 #ifndef _FNET_TELNET_CONFIG_H_
31 
32 #define _FNET_TELNET_CONFIG_H_
33 
37 /**************************************************************************/
44 #ifndef FNET_CFG_TELNET
45  #define FNET_CFG_TELNET (0)
46 #endif
47 
48 /**************************************************************************/
55 #ifndef FNET_CFG_TELNET_SESSION_MAX
56  #define FNET_CFG_TELNET_SESSION_MAX (1u)
57 #endif
58 
59 /**************************************************************************/
67 #ifndef FNET_CFG_TELNET_PORT
68  #define FNET_CFG_TELNET_PORT (FNET_HTONS(23u))
69 #endif
70 
71 /**************************************************************************/
78 #ifndef FNET_CFG_TELNET_SHELL_ECHO
79  #define FNET_CFG_TELNET_SHELL_ECHO (0)
80 #endif
81 
82 /**************************************************************************/
88 #ifndef FNET_CFG_TELNET_SOCKET_BUF_SIZE
89  #define FNET_CFG_TELNET_SOCKET_BUF_SIZE (60u)
90 #endif
91 
92 /**************************************************************************/
99 #ifndef FNET_CFG_TELNET_CMD_LINE_BUF_SIZE
100  #define FNET_CFG_TELNET_CMD_LINE_BUF_SIZE (60u)
101 #endif
102 
105 #ifdef FNET_CFG_TELNET_MAX
106  #error "FNET_CFG_TELNET_MAX parameter is obsolete. Use FNET_CFG_TELNET."
107 #endif
108 
109 #endif /* _FNET_TELNET_CONFIG_H_ */

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net