examples/nettest: The send buffer size is now a configuration option.
This commit is contained in:
parent
3c97bfeae6
commit
b868fbe879
@ -12,6 +12,14 @@ config EXAMPLES_NETTEST
|
||||
|
||||
if EXAMPLES_NETTEST
|
||||
|
||||
config EXAMPLES_NETTEST_SENDSIZE
|
||||
int "Payload size"
|
||||
default 4096
|
||||
---help---
|
||||
The test client sends well-known packets to ther server. The server
|
||||
will receive and verfity those packets. This setting determines
|
||||
size of each packet.
|
||||
|
||||
config EXAMPLES_NETTEST_PROGNAME1
|
||||
string "Target1 program name"
|
||||
default "nettest"
|
||||
|
@ -81,7 +81,11 @@
|
||||
# define CONFIG_EXAMPLES_NETTEST_SERVER_PORTNO 5471
|
||||
#endif
|
||||
|
||||
#define SENDSIZE 4096
|
||||
#ifdef CONFIG_EXAMPLES_NETTEST_SENDSIZE
|
||||
# define SENDSIZE CONFIG_EXAMPLES_NETTEST_SENDSIZE
|
||||
#else
|
||||
# define SENDSIZE 4096
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
Loading…
Reference in New Issue
Block a user