Lines Matching refs:sfx
3243 #define NET_PROMETHEUS_GET_COLLECTOR_NAME(dev_id, sfx) \ argument
3244 net_stats_##dev_id##_##sfx##_collector
3245 #define NET_PROMETHEUS_INIT(dev_id, sfx) \ argument
3247 (.collector = &NET_PROMETHEUS_GET_COLLECTOR_NAME(dev_id, sfx),))
3249 #define NET_IF_GET_NAME(dev_id, sfx) __net_if_##dev_id##_##sfx argument
3250 #define NET_IF_DEV_GET_NAME(dev_id, sfx) __net_if_dev_##dev_id##_##sfx argument
3252 #define NET_IF_GET(dev_id, sfx) \ argument
3253 ((struct net_if *)&NET_IF_GET_NAME(dev_id, sfx))
3261 #define NET_IF_INIT(dev_id, sfx, _l2, _mtu, _num_configs) \ argument
3263 NET_IF_DEV_GET_NAME(dev_id, sfx)) = { \
3266 .l2_data = &(NET_L2_GET_DATA(dev_id, sfx)), \
3271 NET_IF_GET_NAME(dev_id, sfx)[_num_configs] \
3275 .if_dev = &(NET_IF_DEV_GET_NAME(dev_id, sfx)), \
3282 sfx), \
3284 NET_IF_GET(dev_id, sfx)); \
3285 NET_STATS_PROMETHEUS(NET_IF_GET(dev_id, sfx), \
3286 dev_id, sfx);))
3288 #define NET_IF_OFFLOAD_INIT(dev_id, sfx, _mtu) \ argument
3290 NET_IF_DEV_GET_NAME(dev_id, sfx)) = { \
3297 NET_IF_GET_NAME(dev_id, sfx)[NET_IF_MAX_CONFIGS] \
3301 .if_dev = &(NET_IF_DEV_GET_NAME(dev_id, sfx)), \
3308 sfx), \
3310 NET_IF_GET(dev_id, sfx)); \
3311 NET_STATS_PROMETHEUS(NET_IF_GET(dev_id, sfx), \
3312 dev_id, sfx);))