mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
Missing definition of RTAX_FASTOPEN_NO_COOKIE shouldn't kill the whole build
This commit is contained in:
parent
fe3d7c1a17
commit
0046594237
@ -95,14 +95,21 @@ static struct ea_class ea_krt_metrics[] = {
|
|||||||
KRT_METRIC_INT(RTAX_RTO_MIN, "krt_rto_min"),
|
KRT_METRIC_INT(RTAX_RTO_MIN, "krt_rto_min"),
|
||||||
KRT_METRIC_INT(RTAX_INITRWND, "krt_initrwnd"),
|
KRT_METRIC_INT(RTAX_INITRWND, "krt_initrwnd"),
|
||||||
KRT_METRIC_INT(RTAX_QUICKACK, "krt_quickack"),
|
KRT_METRIC_INT(RTAX_QUICKACK, "krt_quickack"),
|
||||||
|
#ifdef RTAX_FASTOPEN_NO_COOKIE
|
||||||
KRT_METRIC_INT(RTAX_FASTOPEN_NO_COOKIE, "krt_fastopen_no_cookie"),
|
KRT_METRIC_INT(RTAX_FASTOPEN_NO_COOKIE, "krt_fastopen_no_cookie"),
|
||||||
|
#else
|
||||||
|
#warning "Definition of RTAX_FASTOPEN_NO_COOKIE not found"
|
||||||
|
#endif
|
||||||
#undef KRT_METRIC_INT
|
#undef KRT_METRIC_INT
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *krt_metrics_names[KRT_METRICS_MAX] = {
|
static const char *krt_metrics_names[KRT_METRICS_MAX] = {
|
||||||
NULL, "lock", "mtu", "window", "rtt", "rttvar", "ssthresh", "cwnd", "advmss",
|
NULL, "lock", "mtu", "window", "rtt", "rttvar", "ssthresh", "cwnd", "advmss",
|
||||||
"reordering", "hoplimit", "initcwnd", "features", "rto_min", "initrwnd", "quickack",
|
"reordering", "hoplimit", "initcwnd", "features", "rto_min", "initrwnd", "quickack",
|
||||||
"congctl", "fastopen_no_cookie"
|
"congctl",
|
||||||
|
#ifdef RTAX_FASTOPEN_NO_COOKIE
|
||||||
|
"fastopen_no_cookie",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *krt_features_names[KRT_FEATURES_MAX] = {
|
static const char *krt_features_names[KRT_FEATURES_MAX] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user