tcp_metrics-user.c:28:57: error: ‘TCP_METRICS_A_METRICS_MAX’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_MAX’? 28 | const struct ynl_policy_attr tcp_metrics_metrics_policy[TCP_METRICS_A_METRICS_MAX + 1] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_MAX tcp_metrics-user.c:29:10: error: ‘TCP_METRICS_A_METRICS_RTT’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_PAD’? 29 | [TCP_METRICS_A_METRICS_RTT] = { .name = "rtt", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_PAD tcp_metrics-user.c:30:10: error: ‘TCP_METRICS_A_METRICS_RTTVAR’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_TW_TSVAL’? 30 | [TCP_METRICS_A_METRICS_RTTVAR] = { .name = "rttvar", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_TW_TSVAL tcp_metrics-user.c:31:10: error: ‘TCP_METRICS_A_METRICS_SSTHRESH’ undeclared here (not in a function) 31 | [TCP_METRICS_A_METRICS_SSTHRESH] = { .name = "ssthresh", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:32:10: error: ‘TCP_METRICS_A_METRICS_CWND’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_PAD’? 32 | [TCP_METRICS_A_METRICS_CWND] = { .name = "cwnd", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_PAD tcp_metrics-user.c:33:10: error: ‘TCP_METRICS_A_METRICS_REODERING’ undeclared here (not in a function) 33 | [TCP_METRICS_A_METRICS_REODERING] = { .name = "reodering", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:34:10: error: ‘TCP_METRICS_A_METRICS_RTT_US’ undeclared here (not in a function) 34 | [TCP_METRICS_A_METRICS_RTT_US] = { .name = "rtt_us", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:35:10: error: ‘TCP_METRICS_A_METRICS_RTTVAR_US’ undeclared here (not in a function); did you mean ‘TCP_METRIC_RTTVAR_US’? 35 | [TCP_METRICS_A_METRICS_RTTVAR_US] = { .name = "rttvar_us", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRIC_RTTVAR_US make[1]: *** [Makefile:41: tcp_metrics-user.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:10: generated] Error 2 tcp_metrics-user.c:28:57: error: ‘TCP_METRICS_A_METRICS_MAX’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_MAX’? 28 | const struct ynl_policy_attr tcp_metrics_metrics_policy[TCP_METRICS_A_METRICS_MAX + 1] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_MAX tcp_metrics-user.c:29:10: error: ‘TCP_METRICS_A_METRICS_RTT’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_PAD’? 29 | [TCP_METRICS_A_METRICS_RTT] = { .name = "rtt", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_PAD tcp_metrics-user.c:30:10: error: ‘TCP_METRICS_A_METRICS_RTTVAR’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_TW_TSVAL’? 30 | [TCP_METRICS_A_METRICS_RTTVAR] = { .name = "rttvar", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_TW_TSVAL tcp_metrics-user.c:31:10: error: ‘TCP_METRICS_A_METRICS_SSTHRESH’ undeclared here (not in a function) 31 | [TCP_METRICS_A_METRICS_SSTHRESH] = { .name = "ssthresh", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:32:10: error: ‘TCP_METRICS_A_METRICS_CWND’ undeclared here (not in a function); did you mean ‘TCP_METRICS_ATTR_PAD’? 32 | [TCP_METRICS_A_METRICS_CWND] = { .name = "cwnd", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRICS_ATTR_PAD tcp_metrics-user.c:33:10: error: ‘TCP_METRICS_A_METRICS_REODERING’ undeclared here (not in a function) 33 | [TCP_METRICS_A_METRICS_REODERING] = { .name = "reodering", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:34:10: error: ‘TCP_METRICS_A_METRICS_RTT_US’ undeclared here (not in a function) 34 | [TCP_METRICS_A_METRICS_RTT_US] = { .name = "rtt_us", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_metrics-user.c:35:10: error: ‘TCP_METRICS_A_METRICS_RTTVAR_US’ undeclared here (not in a function); did you mean ‘TCP_METRIC_RTTVAR_US’? 35 | [TCP_METRICS_A_METRICS_RTTVAR_US] = { .name = "rttvar_us", .type = YNL_PT_U32, }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TCP_METRIC_RTTVAR_US make: *** [Makefile:41: tcp_metrics-user.o] Error 1 make: *** Waiting for unfinished jobs....