Lines Matching full:user_data
19 static void context_cb(struct net_context *context, void *user_data) in context_cb() argument
28 struct net_shell_user_data *data = user_data; in context_cb()
30 int *count = data->user_data; in context_cb()
55 static void conn_handler_cb(struct net_conn *conn, void *user_data) in conn_handler_cb() argument
64 struct net_shell_user_data *data = user_data; in conn_handler_cb()
66 int *count = data->user_data; in conn_handler_cb()
117 static void tcp_cb(struct tcp *conn, void *user_data) in tcp_cb() argument
119 struct net_shell_user_data *data = user_data; in tcp_cb()
121 int *count = data->user_data; in tcp_cb()
135 static void tcp_sent_list_cb(struct tcp *conn, void *user_data) in tcp_sent_list_cb() argument
137 struct net_shell_user_data *data = user_data; in tcp_sent_list_cb()
139 struct tcp_detail_info *details = data->user_data; in tcp_sent_list_cb()
216 struct net_shell_user_data user_data; in cmd_net_conn() local
221 user_data.sh = sh; in cmd_net_conn()
222 user_data.user_data = &count; in cmd_net_conn()
224 net_context_foreach(context_cb, &user_data); in cmd_net_conn()
235 net_conn_foreach(conn_handler_cb, &user_data); in cmd_net_conn()
248 net_tcp_foreach(tcp_cb, &user_data); in cmd_net_conn()
261 user_data.user_data = &details; in cmd_net_conn()
264 net_tcp_foreach(tcp_sent_list_cb, &user_data); in cmd_net_conn()
284 net_ipv6_frag_foreach(ipv6_frag_cb, &user_data); in cmd_net_conn()