Lines Matching full:user_data
22 static void iface_vlan_del_cb(struct net_if *iface, void *user_data) in iface_vlan_del_cb() argument
24 struct net_shell_user_data *data = user_data; in iface_vlan_del_cb()
26 uint16_t vlan_tag = POINTER_TO_UINT(data->user_data); in iface_vlan_del_cb()
46 static void iface_vlan_cb(struct net_if *iface, void *user_data) in iface_vlan_cb() argument
48 struct net_shell_user_data *data = user_data; in iface_vlan_cb()
50 int *count = data->user_data; in iface_vlan_cb()
78 struct net_shell_user_data user_data; in cmd_net_vlan() local
81 user_data.sh = sh; in cmd_net_vlan()
82 user_data.user_data = &count; in cmd_net_vlan()
84 net_if_foreach(iface_vlan_cb, &user_data); in cmd_net_vlan()
170 struct net_shell_user_data user_data; in cmd_net_vlan_del() local
186 user_data.sh = sh; in cmd_net_vlan_del()
187 user_data.user_data = UINT_TO_POINTER((uint32_t)tag); in cmd_net_vlan_del()
189 net_if_foreach(iface_vlan_del_cb, &user_data); in cmd_net_vlan_del()