comparison src/g23m-fad/tcpip/rnet/rnet_cfg.h @ 174:90eb61ecd093

src/g23m-fad: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2016 05:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
173:bf64d785238a 174:90eb61ecd093
1 /**
2 * @file rnet_cfg.h
3 *
4 * Riviera NET.
5 *
6 * Configuration definitions for the RNET instance.
7 *
8 * @author Vincent Oberle (v-oberle@ti.com)
9 * @version 0.1
10 */
11
12 /*
13 * History:
14 *
15 * Date Author Modification
16 * --------------------------------------------------
17 * 01/29/2002 Vincent Oberle Create
18 *
19 * (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved
20 */
21
22 #ifndef __RNET_CFG_H_
23 #define __RNET_CFG_H_
24
25 #include "rv_defined_swe.h"
26
27 /**
28 * RNET underlying implementation.
29 *
30 * In normal usage, this doesn't need to be modified.
31 * rv_defined_swe.h takes care to check that only one of the
32 * RVM_RNET_xx_SWE is defined.
33 */
34 #ifdef RVM_RNET_WS_SWE
35 #define RNET_CFG_WINSOCK
36 #endif
37 #ifdef RVM_RNET_BR_SWE
38 #define RNET_CFG_BRIDGE
39 #endif
40 #ifdef RVM_RNET_RT_SWE
41 #ifndef RNET_CFG_REAL_TRANSPORT
42 #define RNET_CFG_REAL_TRANSPORT
43 #endif /* RNET_CFG_REAL_TRANSPORT */
44 #endif
45
46 /**
47 * Maximum size that a host name can have.
48 * Increase this value to be sure not to get a truncated host name
49 */
50 #define RNET_MAX_HOST_NAME_LEN 100 /* should be 255 see RFC... */
51
52 /**
53 * Use the Loopback interface.
54 */
55 #define RNET_RT_LOOPBACK_SUPPORT
56
57 #endif /* __RNET_CFG_H_ */
58