X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=5c93e498ddf39c86007c8b07d58ec8e64ec8324f;hp=38ab1e146740538102b5c669d0a5571ec0c6f37c;hb=92816cc33a1add3c8276839bd6335e17423577dd;hpb=d88744a44aa5f2ca90ab87946692b9eed3120641 diff --git a/src/common/defaults.h b/src/common/defaults.h index 38ab1e146..5c93e498d 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. */ @@ -320,7 +325,7 @@ #define DEFAULT_RUN_AS_WORKER_NAME "lttng-runas" /* Default LTTng MI XML namespace. */ -#define DEFAULT_LTTNG_MI_NAMESPACE "http://lttng.org/xml/ns/lttng-mi" +#define DEFAULT_LTTNG_MI_NAMESPACE "https://lttng.org/xml/ns/lttng-mi" /* Default thread stack size; the default mandated by pthread_create(3) */ #define DEFAULT_LTTNG_THREAD_STACK_SIZE 2097152 @@ -342,7 +347,7 @@ * Default timer value in usec for the rotate pending polling check on the * relay when a rotation has completed on the consumer. */ -#define DEFAULT_ROTATE_PENDING_RELAY_TIMER CONFIG_DEFAULT_ROTATE_PENDING_RELAY_TIMER +#define DEFAULT_ROTATE_PENDING_TIMER CONFIG_DEFAULT_ROTATE_PENDING_TIMER /* * Returns the default subbuf size.