Lines Matching refs:sfx

883 #define NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx) net_stats_##dev_id##_##sfx##_collector  argument
884 #define NET_STATS_GET_VAR(dev_id, sfx, var) zephyr_net_##var argument
885 #define NET_STATS_GET_INSTANCE(dev_id, sfx, _not_used) STRINGIFY(_##dev_id##_##sfx) argument
922 #define NET_STATS_PROMETHEUS_IPV6(iface, dev_id, sfx) \ argument
925 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_sent), \
927 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
928 NET_STATS_GET_VAR(dev_id, sfx, ipv6_sent), \
932 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_recv), \
934 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
935 NET_STATS_GET_VAR(dev_id, sfx, ipv6_recv), \
939 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_drop), \
941 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
942 NET_STATS_GET_VAR(dev_id, sfx, ipv6_drop), \
946 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_forward), \
948 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
949 NET_STATS_GET_VAR(dev_id, sfx, ipv6_forwarded), \
952 #define NET_STATS_PROMETHEUS_IPV6(iface, dev_id, sfx) argument
957 #define NET_STATS_PROMETHEUS_IPV4(iface, dev_id, sfx) \ argument
960 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_sent), \
962 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
963 NET_STATS_GET_VAR(dev_id, sfx, ipv4_sent), \
967 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_recv), \
969 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
970 NET_STATS_GET_VAR(dev_id, sfx, ipv4_recv), \
974 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_drop), \
976 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
977 NET_STATS_GET_VAR(dev_id, sfx, ipv4_drop), \
981 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_forwarded), \
983 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
984 NET_STATS_GET_VAR(dev_id, sfx, ipv4_forwarded), \
987 #define NET_STATS_PROMETHEUS_IPV4(iface, dev_id, sfx) argument
992 #define NET_STATS_PROMETHEUS_ICMP(iface, dev_id, sfx) \ argument
995 NET_STATS_GET_INSTANCE(dev_id, sfx, icmp_sent), \
997 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
998 NET_STATS_GET_VAR(dev_id, sfx, icmp_sent), \
1002 NET_STATS_GET_INSTANCE(dev_id, sfx, icmp_recv), \
1004 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1005 NET_STATS_GET_VAR(dev_id, sfx, icmp_recv), \
1009 NET_STATS_GET_INSTANCE(dev_id, sfx, icmp_drop), \
1011 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1012 NET_STATS_GET_VAR(dev_id, sfx, icmp_drop), \
1016 NET_STATS_GET_INSTANCE(dev_id, sfx, icmp_chkerr), \
1018 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1019 NET_STATS_GET_VAR(dev_id, sfx, icmp_chkerr), \
1023 NET_STATS_GET_INSTANCE(dev_id, sfx, icmp_typeerr), \
1025 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1026 NET_STATS_GET_VAR(dev_id, sfx, icmp_typeerr), \
1029 #define NET_STATS_PROMETHEUS_ICMP(iface, dev_id, sfx) argument
1034 #define NET_STATS_PROMETHEUS_UDP(iface, dev_id, sfx) \ argument
1037 NET_STATS_GET_INSTANCE(dev_id, sfx, udp_sent), \
1039 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1040 NET_STATS_GET_VAR(dev_id, sfx, udp_sent), \
1044 NET_STATS_GET_INSTANCE(dev_id, sfx, udp_recv), \
1046 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1047 NET_STATS_GET_VAR(dev_id, sfx, udp_recv), \
1051 NET_STATS_GET_INSTANCE(dev_id, sfx, udp_drop), \
1053 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1054 NET_STATS_GET_VAR(dev_id, sfx, udp_drop), \
1058 NET_STATS_GET_INSTANCE(dev_id, sfx, udp_chkerr), \
1060 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1061 NET_STATS_GET_VAR(dev_id, sfx, udp_chkerr), \
1064 #define NET_STATS_PROMETHEUS_UDP(iface, dev_id, sfx) argument
1069 #define NET_STATS_PROMETHEUS_TCP(iface, dev_id, sfx) \ argument
1072 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_bytes_sent), \
1074 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1075 NET_STATS_GET_VAR(dev_id, sfx, tcp_bytes_sent), \
1079 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_bytes_recv), \
1081 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1082 NET_STATS_GET_VAR(dev_id, sfx, tcp_bytes_recv), \
1086 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_bytes_resent), \
1088 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1089 NET_STATS_GET_VAR(dev_id, sfx, tcp_bytes_resent), \
1093 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_sent), \
1095 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1096 NET_STATS_GET_VAR(dev_id, sfx, tcp_sent), \
1100 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_recv), \
1102 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1103 NET_STATS_GET_VAR(dev_id, sfx, tcp_recv), \
1107 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_drop), \
1109 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1110 NET_STATS_GET_VAR(dev_id, sfx, tcp_drop), \
1114 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_chkerr), \
1116 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1117 NET_STATS_GET_VAR(dev_id, sfx, tcp_chkerr), \
1121 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_ackerr), \
1123 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1124 NET_STATS_GET_VAR(dev_id, sfx, tcp_ackerr), \
1128 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_rsterr), \
1130 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1131 NET_STATS_GET_VAR(dev_id, sfx, tcp_rsterr), \
1135 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_rexmit), \
1137 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1138 NET_STATS_GET_VAR(dev_id, sfx, tcp_rexmit), \
1142 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_rst_recv), \
1144 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1145 NET_STATS_GET_VAR(dev_id, sfx, tcp_rst), \
1149 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_conndrop), \
1151 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1152 NET_STATS_GET_VAR(dev_id, sfx, tcp_conndrop), \
1156 NET_STATS_GET_INSTANCE(dev_id, sfx, tcp_connrst), \
1158 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1159 NET_STATS_GET_VAR(dev_id, sfx, tcp_connrst), \
1162 #define NET_STATS_PROMETHEUS_TCP(iface, dev_id, sfx) argument
1167 #define NET_STATS_PROMETHEUS_IPV6_ND(iface, dev_id, sfx) \ argument
1170 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_nd_sent), \
1172 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1173 NET_STATS_GET_VAR(dev_id, sfx, ipv6_nd_sent), \
1177 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_nd_recv), \
1179 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1180 NET_STATS_GET_VAR(dev_id, sfx, ipv6_nd_recv), \
1184 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_nd_drop), \
1186 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1187 NET_STATS_GET_VAR(dev_id, sfx, ipv6_nd_drop), \
1190 #define NET_STATS_PROMETHEUS_IPV6_ND(iface, dev_id, sfx) argument
1195 #define NET_STATS_PROMETHEUS_IPV6_PMTU(iface, dev_id, sfx) \ argument
1198 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_pmtu_sent), \
1200 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1201 NET_STATS_GET_VAR(dev_id, sfx, ipv6_pmtu_sent), \
1205 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_pmtu_recv), \
1207 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1208 NET_STATS_GET_VAR(dev_id, sfx, ipv6_pmtu_recv), \
1212 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_pmtu_drop), \
1214 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1215 NET_STATS_GET_VAR(dev_id, sfx, ipv6_pmtu_drop), \
1218 #define NET_STATS_PROMETHEUS_IPV6_PMTU(iface, dev_id, sfx) argument
1223 #define NET_STATS_PROMETHEUS_IPV4_PMTU(iface, dev_id, sfx) \ argument
1226 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_pmtu_sent), \
1228 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1229 NET_STATS_GET_VAR(dev_id, sfx, ipv4_pmtu_sent), \
1233 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_pmtu_recv), \
1235 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1236 NET_STATS_GET_VAR(dev_id, sfx, ipv4_pmtu_recv), \
1240 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_pmtu_drop), \
1242 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1243 NET_STATS_GET_VAR(dev_id, sfx, ipv4_pmtu_drop), \
1246 #define NET_STATS_PROMETHEUS_IPV4_PMTU(iface, dev_id, sfx) argument
1251 #define NET_STATS_PROMETHEUS_MLD(iface, dev_id, sfx) \ argument
1254 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_mld_sent), \
1256 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1257 NET_STATS_GET_VAR(dev_id, sfx, ipv6_mld_sent), \
1261 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_mld_recv), \
1263 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1264 NET_STATS_GET_VAR(dev_id, sfx, ipv6_mld_recv), \
1268 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv6_mld_drop), \
1270 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1271 NET_STATS_GET_VAR(dev_id, sfx, ipv6_mld_drop), \
1274 #define NET_STATS_PROMETHEUS_MLD(iface, dev_id, sfx) argument
1279 #define NET_STATS_PROMETHEUS_IGMP(iface, dev_id, sfx) \ argument
1282 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_igmp_sent), \
1284 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1285 NET_STATS_GET_VAR(dev_id, sfx, ipv4_igmp_sent), \
1289 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_igmp_recv), \
1291 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1292 NET_STATS_GET_VAR(dev_id, sfx, ipv4_igmp_recv), \
1296 NET_STATS_GET_INSTANCE(dev_id, sfx, ipv4_igmp_drop), \
1298 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1299 NET_STATS_GET_VAR(dev_id, sfx, ipv4_igmp_drop), \
1302 #define NET_STATS_PROMETHEUS_IGMP(iface, dev_id, sfx) argument
1307 #define NET_STATS_PROMETHEUS_DNS(iface, dev_id, sfx) \ argument
1310 NET_STATS_GET_INSTANCE(dev_id, sfx, dns_sent), \
1312 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1313 NET_STATS_GET_VAR(dev_id, sfx, dns_sent), \
1317 NET_STATS_GET_INSTANCE(dev_id, sfx, dns_recv), \
1319 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1320 NET_STATS_GET_VAR(dev_id, sfx, dns_recv), \
1324 NET_STATS_GET_INSTANCE(dev_id, sfx, dns_drop), \
1326 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1327 NET_STATS_GET_VAR(dev_id, sfx, dns_drop), \
1330 #define NET_STATS_PROMETHEUS_DNS(iface, dev_id, sfx) argument
1335 #define NET_STATS_PROMETHEUS_TX_TIME(iface, dev_id, sfx) \ argument
1338 NET_STATS_GET_INSTANCE(dev_id, sfx, tx_time), \
1340 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1341 NET_STATS_GET_VAR(dev_id, sfx, tx_time), \
1344 #define NET_STATS_PROMETHEUS_TX_TIME(iface, dev_id, sfx) argument
1349 #define NET_STATS_PROMETHEUS_RX_TIME(iface, dev_id, sfx) \ argument
1352 NET_STATS_GET_INSTANCE(dev_id, sfx, rx_time), \
1354 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1355 NET_STATS_GET_VAR(dev_id, sfx, rx_time), \
1358 #define NET_STATS_PROMETHEUS_RX_TIME(iface, dev_id, sfx) argument
1362 #define NET_STATS_PROMETHEUS(iface, dev_id, sfx) \ argument
1365 NET_STATS_GET_INSTANCE(dev_id, sfx, process_error), \
1367 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1368 NET_STATS_GET_VAR(dev_id, sfx, processing_error), \
1373 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_proto_error), \
1375 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1376 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_protoerr), \
1380 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_vhl_error), \
1382 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1383 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_vhlerr), \
1387 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_hblen_error), \
1389 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1390 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_hblenerr), \
1394 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_lblen_error), \
1396 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1397 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_lblenerr), \
1401 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_frag_error), \
1403 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1404 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_fragerr), \
1408 NET_STATS_GET_INSTANCE(dev_id, sfx, ip_chk_error), \
1410 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1411 NET_STATS_GET_VAR(dev_id, sfx, ip_errors_chkerr), \
1416 NET_STATS_GET_INSTANCE(dev_id, sfx, bytes_recv), \
1418 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1419 NET_STATS_GET_VAR(dev_id, sfx, bytes_recv), \
1423 NET_STATS_GET_INSTANCE(dev_id, sfx, bytes_sent), \
1425 NET_STATS_GET_COLLECTOR_NAME(dev_id, sfx), \
1426 NET_STATS_GET_VAR(dev_id, sfx, bytes_sent), \
1428 NET_STATS_PROMETHEUS_IPV6(iface, dev_id, sfx); \
1429 NET_STATS_PROMETHEUS_IPV4(iface, dev_id, sfx); \
1430 NET_STATS_PROMETHEUS_ICMP(iface, dev_id, sfx); \
1431 NET_STATS_PROMETHEUS_UDP(iface, dev_id, sfx); \
1432 NET_STATS_PROMETHEUS_TCP(iface, dev_id, sfx); \
1433 NET_STATS_PROMETHEUS_IPV6_ND(iface, dev_id, sfx); \
1434 NET_STATS_PROMETHEUS_IPV6_PMTU(iface, dev_id, sfx); \
1435 NET_STATS_PROMETHEUS_IPV4_PMTU(iface, dev_id, sfx); \
1436 NET_STATS_PROMETHEUS_MLD(iface, dev_id, sfx); \
1437 NET_STATS_PROMETHEUS_IGMP(iface, dev_id, sfx); \
1438 NET_STATS_PROMETHEUS_DNS(iface, dev_id, sfx); \
1439 NET_STATS_PROMETHEUS_TX_TIME(iface, dev_id, sfx); \
1440 NET_STATS_PROMETHEUS_RX_TIME(iface, dev_id, sfx)