Home
last modified time | relevance | path

Searched refs:cmd_req (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c47 static void smp_client_cmd_req_free(struct smp_client_cmd_req *cmd_req);
159 static void smp_cmd_add_to_list(struct smp_client_cmd_req *cmd_req) in smp_cmd_add_to_list() argument
165 sys_slist_append(&smp_client_data.cmd_list, &cmd_req->node); in smp_cmd_add_to_list()
168 static void smp_client_cmd_req_free(struct smp_client_cmd_req *cmd_req) in smp_client_cmd_req_free() argument
170 smp_client_buf_free(cmd_req->nb); in smp_client_cmd_req_free()
171 cmd_req->nb = NULL; in smp_client_cmd_req_free()
172 sys_slist_find_and_remove(&smp_client_data.cmd_list, &cmd_req->node); in smp_client_cmd_req_free()
174 sys_slist_append(&smp_client_data.cmd_free_list, &cmd_req->node); in smp_client_cmd_req_free()
186 struct smp_client_cmd_req *cmd_req; in smp_client_response_discover() local
192 SYS_SLIST_FOR_EACH_CONTAINER(&smp_client_data.cmd_list, cmd_req, node) { in smp_client_response_discover()
[all …]
/Zephyr-Core-3.5.0/subsys/net/lib/socks/
Dsocks.c79 struct socks5_command_request cmd_req; in socks5_tcp_connect() local
121 cmd_req.r.ver = SOCKS5_PKT_MAGIC; in socks5_tcp_connect()
122 cmd_req.r.cmd = SOCKS5_CMD_CONNECT; in socks5_tcp_connect()
123 cmd_req.r.rsv = SOCKS5_PKT_RSV; in socks5_tcp_connect()
129 cmd_req.r.atyp = SOCKS5_ATYP_IPV4; in socks5_tcp_connect()
131 memcpy(&cmd_req.ipv4_addr.addr, in socks5_tcp_connect()
133 sizeof(cmd_req.ipv4_addr.addr)); in socks5_tcp_connect()
135 cmd_req.ipv4_addr.port = d4->sin_port; in socks5_tcp_connect()
143 cmd_req.r.atyp = SOCKS5_ATYP_IPV6; in socks5_tcp_connect()
145 memcpy(&cmd_req.ipv6_addr.addr, in socks5_tcp_connect()
[all …]