Lines Matching full:user_data
20 static void virtual_iface_cb(struct net_if *iface, void *user_data) in virtual_iface_cb() argument
22 struct net_shell_user_data *data = user_data; in virtual_iface_cb()
24 int *count = data->user_data; in virtual_iface_cb()
49 static void attached_iface_cb(struct net_if *iface, void *user_data) in attached_iface_cb() argument
51 struct net_shell_user_data *data = user_data; in attached_iface_cb()
53 int *count = data->user_data; in attached_iface_cb()
95 struct net_shell_user_data user_data; in cmd_virtual_show() local
98 user_data.sh = sh; in cmd_virtual_show()
99 user_data.user_data = &count; in cmd_virtual_show()
101 net_if_foreach(virtual_iface_cb, &user_data); in cmd_virtual_show()
110 net_if_foreach(attached_iface_cb, &user_data); in cmd_virtual_show()