Embedded TCP/IP stack: fnet_bench_config.h Source File From FNET previous page next page Embedded TCP/IP stack 4.1.0 FNET Overview FNET Quick Start FNET API fnet_stackservicebench fnet_bench_config.h 1 /************************************************************************** 2 * 3 * Copyright 2018 by Andrey Butok. FNET Community. 4 * 5 *************************************************************************** 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); you may 8 * not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 *************************************************************************** 20 * 21 * FNET benchmark service configuration file. 22 * 23 ***************************************************************************/ 24 25 /************************************************************************** 26 * !!!DO NOT MODIFY THIS FILE!!! 27 **************************************************************************/ 28 29 #ifndef _FNET_BENCH_CONFIG_H_ 30 31 #define _FNET_BENCH_CONFIG_H_ 32 36 /**************************************************************************/ 42 #ifndef FNET_CFG_BENCH_SRV 43 #define FNET_CFG_BENCH_SRV (0) 44 #endif 45 46 /**************************************************************************/ 56 #ifndef FNET_CFG_BENCH_SRV_PORT 57 #define FNET_CFG_BENCH_SRV_PORT (FNET_HTONS(7007)) 58 #endif 59 60 /**************************************************************************/ 65 #ifndef FNET_CFG_BENCH_SRV_BUFFER_SIZE 66 #define FNET_CFG_BENCH_SRV_BUFFER_SIZE (8*1024) 67 #endif 68 74 /**************************************************************************/ 80 #ifndef FNET_CFG_BENCH_CLN 81 #define FNET_CFG_BENCH_CLN (0) 82 #endif 83 84 /**************************************************************************/ 94 #ifndef FNET_CFG_BENCH_CLN_PORT 95 #define FNET_CFG_BENCH_CLN_PORT (FNET_HTONS(7007)) 96 #endif 97 98 /**************************************************************************/ 103 #ifndef FNET_CFG_BENCH_CLN_BUFFER_SIZE 104 #define FNET_CFG_BENCH_CLN_BUFFER_SIZE (5*1024) 105 #endif 106 109 #endif /* _FNET_BENCH_CONFIG_H_ */ © 2005-2018 by Andrey Butok. http://fnet.sourceforge.net previous page start next page