X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=fabcf085204227d04333d6e51ddf6292b2c1c4b1;hb=2f21a469eee9bc3352b439b1e64fe6bbd5088fea;hp=38ab1e146740538102b5c669d0a5571ec0c6f37c;hpb=d88744a44aa5f2ca90ab87946692b9eed3120641;p=lttng-tools.git diff --git a/src/common/defaults.h b/src/common/defaults.h index 38ab1e146..fabcf0852 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -269,8 +269,9 @@ #define DEFAULT_NETWORK_DATA_PORT CONFIG_DEFAULT_NETWORK_DATA_PORT #define DEFAULT_NETWORK_VIEWER_PORT CONFIG_DEFAULT_NETWORK_VIEWER_PORT -/* Agent registration TCP port. */ -#define DEFAULT_AGENT_TCP_PORT CONFIG_DEFAULT_AGENT_TCP_PORT +/* Agent registration TCP port range. */ +#define DEFAULT_AGENT_TCP_PORT_RANGE_BEGIN CONFIG_DEFAULT_AGENT_TCP_PORT_RANGE_BEGIN +#define DEFAULT_AGENT_TCP_PORT_RANGE_END CONFIG_DEFAULT_AGENT_TCP_PORT_RANGE_END /* * If a thread stalls for this amount of time, it will be considered bogus (bad @@ -298,6 +299,10 @@ */ #define DEFAULT_INET_TCP_TIMEOUT 180 /* sec */ +/* Maximum payload size for a control connection */ + +#define DEFAULT_NETWORK_RELAYD_CTRL_MAX_PAYLOAD_SIZE CONFIG_DEFAULT_NETWORK_RELAYD_CTRL_MAX_PAYLOAD_SIZE + /* * Default receiving and sending timeout for an application socket. */