horch - the Linux CAN analyser and CAN Server
Main Page
Files
File List
horch_cfg.h
1
/*
2
* Configuration of horch
3
*
4
*/
5
6
10
#ifndef HORCH_MAX_CLIENTS
11
# define HORCH_MAX_CLIENTS 10
12
#endif
/* HORCH_MAX_CLIENTS */
13
14
/* Buffer sizes - String buffer for each client
15
* --------------------------------------------------------------------*/
16
#ifndef TCPIP_BUFFER_MAX
17
# if MAX_CANMESSAGES_PER_FRAME > 20
18
# define TCPIP_BUFFER_MAX 300000
19
# else
20
/* default */
21
# define TCPIP_BUFFER_MAX 30000
22
# endif
23
#endif
24
29
#ifdef TARGET_LINUX_ARM
30
# define TCPIP_BUFFER_TRANSMIT (10000)
31
#else
32
# define TCPIP_BUFFER_TRANSMIT (TCPIP_BUFFER_MAX - 500)
33
#endif
34
39
#define TCPIP_BUFFER_STOP (TCPIP_BUFFER_MAX - 160)
40
41
/* Buffer size for debug messages, 80 should be enough, but ...
42
* -------------------------------------------------------------------*/
43
#define DEBUGMSG_BUFFER_MAX 2056
44
Generated by
1.8.5