/Zephyr-latest/drivers/firmware/scmi/ |
D | clk.c | 28 struct scmi_message msg, reply; in scmi_clock_rate_get() local 46 reply.hdr = msg.hdr; in scmi_clock_rate_get() 47 reply.len = sizeof(reply_buffer); in scmi_clock_rate_get() 48 reply.content = &reply_buffer; in scmi_clock_rate_get() 50 ret = scmi_send_message(proto, &msg, &reply); in scmi_clock_rate_get() 67 struct scmi_message msg, reply; in scmi_clock_config_set() local 99 reply.hdr = msg.hdr; in scmi_clock_config_set() 100 reply.len = sizeof(status); in scmi_clock_config_set() 101 reply.content = &status; in scmi_clock_config_set() 103 ret = scmi_send_message(proto, &msg, &reply); in scmi_clock_config_set() [all …]
|
D | pinctrl.c | 14 struct scmi_message msg, reply; in scmi_pinctrl_settings_configure() local 49 reply.hdr = msg.hdr; in scmi_pinctrl_settings_configure() 50 reply.len = sizeof(status); in scmi_pinctrl_settings_configure() 51 reply.content = &status; in scmi_pinctrl_settings_configure() 53 ret = scmi_send_message(proto, &msg, &reply); in scmi_pinctrl_settings_configure()
|
D | core.c | 92 struct scmi_message *reply) in scmi_send_message_pre_kernel() argument 111 ret = scmi_transport_read_message(proto->transport, proto->tx, reply); in scmi_send_message_pre_kernel() 121 struct scmi_message *reply) in scmi_send_message_post_kernel() argument 149 ret = scmi_transport_read_message(proto->transport, proto->tx, reply); in scmi_send_message_post_kernel() 162 struct scmi_message *reply) in scmi_send_message() argument 173 return scmi_send_message_pre_kernel(proto, msg, reply); in scmi_send_message() 175 return scmi_send_message_post_kernel(proto, msg, reply); in scmi_send_message()
|
/Zephyr-latest/subsys/net/ip/ |
D | icmpv4.c | 29 struct net_pkt *reply; member 85 struct net_pkt *reply, in icmpv4_update_record_route() argument 88 uint8_t len = net_pkt_ipv4_opts_len(reply); in icmpv4_update_record_route() 95 if (net_pkt_write_u8(reply, NET_IPV4_OPTS_RR)) { in icmpv4_update_record_route() 101 if (net_pkt_write_u8(reply, opt_len + 2U)) { in icmpv4_update_record_route() 121 if (net_pkt_write_u8(reply, ptr)) { in icmpv4_update_record_route() 127 if (net_pkt_write(reply, opt_data + offset, opt_len)) { in icmpv4_update_record_route() 133 net_pkt_set_ipv4_opts_len(reply, len); in icmpv4_update_record_route() 147 if (net_pkt_write_u8(reply, ptr + addr_len)) { in icmpv4_update_record_route() 156 if (net_pkt_write(reply, opt_data + offset, skip)) { in icmpv4_update_record_route() [all …]
|
D | icmpv6.c | 105 struct net_pkt *reply = NULL; in icmpv6_handle_echo_request() local 124 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), payload_len, in icmpv6_handle_echo_request() 127 if (!reply) { in icmpv6_handle_echo_request() 148 net_pkt_lladdr_dst(reply)->addr = NULL; in icmpv6_handle_echo_request() 149 net_pkt_lladdr_src(reply)->addr = NULL; in icmpv6_handle_echo_request() 151 net_pkt_set_ip_dscp(reply, net_pkt_ip_dscp(pkt)); in icmpv6_handle_echo_request() 152 net_pkt_set_ip_ecn(reply, net_pkt_ip_ecn(pkt)); in icmpv6_handle_echo_request() 154 if (net_ipv6_create(reply, src, (struct in6_addr *)ip_hdr->src)) { in icmpv6_handle_echo_request() 159 if (net_icmpv6_create(reply, NET_ICMPV6_ECHO_REPLY, 0) || in icmpv6_handle_echo_request() 160 net_pkt_copy(reply, pkt, payload_len)) { in icmpv6_handle_echo_request() [all …]
|
/Zephyr-latest/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 88 struct coap_packet reply; in process_simple_coap_reply() local 118 ret = coap_packet_parse(&reply, data, rcvd, NULL, 0); in process_simple_coap_reply() 256 struct coap_packet reply; in process_large_coap_reply() local 287 ret = coap_packet_parse(&reply, data, rcvd, NULL, 0); in process_large_coap_reply() 293 ret = coap_update_from_block(&reply, &blk_ctx); in process_large_coap_reply() 298 last_block = coap_next_block(&reply, &blk_ctx); in process_large_coap_reply() 421 struct coap_reply *reply, in obs_notification_cb() argument 426 uint8_t *counter = (uint8_t *)reply->user_data; in obs_notification_cb() 441 static int process_obs_coap_reply(struct coap_reply *reply) in process_obs_coap_reply() argument 479 if (coap_response_received(&reply_msg, NULL, reply, 1) == NULL) { in process_obs_coap_reply() [all …]
|
/Zephyr-latest/tests/net/icmp/src/ |
D | main.c | 185 struct net_pkt *reply; in get_ipv4_reply() local 194 reply = net_pkt_alloc_with_buffer(iface, sizeof(struct net_ipv4_hdr) + in get_ipv4_reply() 199 if (!reply) { in get_ipv4_reply() 207 ipv4_hdr = net_pkt_cursor_get_pos(reply); in get_ipv4_reply() 210 net_pkt_set_ipv4_ttl(reply, 1U); in get_ipv4_reply() 212 ret = net_ipv4_create_full(reply, src4, dest4, params->tc_tos, in get_ipv4_reply() 219 icmp_hdr = net_pkt_cursor_get_pos(reply); in get_ipv4_reply() 222 ret = net_icmpv4_create(reply, NET_ICMPV4_ECHO_REPLY, 0); in get_ipv4_reply() 228 ret = net_pkt_write(reply, params->data, params->data_size); in get_ipv4_reply() 234 net_pkt_cursor_init(reply); in get_ipv4_reply() [all …]
|
/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 533 struct net_pkt *reply; in handle_client_test() local 541 reply = prepare_syn_ack_packet(af, htons(MY_PORT), in handle_client_test() 555 reply = prepare_ack_packet(af, htons(MY_PORT), th->th_sport); in handle_client_test() 563 reply = prepare_fin_ack_packet(af, htons(MY_PORT), in handle_client_test() 575 ret = net_recv_data(net_iface, reply); in handle_client_test() 711 struct net_pkt *reply; in handle_server_test() local 716 reply = prepare_syn_packet(af, htons(MY_PORT), in handle_server_test() 724 reply = prepare_ack_packet(af, htons(MY_PORT), in handle_server_test() 729 reply = prepare_data_packet(af, htons(MY_PORT), in handle_server_test() 736 reply = prepare_fin_ack_packet(af, htons(MY_PORT), in handle_server_test() [all …]
|
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/ |
D | main.c | 165 static void test_send_reply(const uint8_t *reply, size_t len) in test_send_reply() argument 168 ssize_t out_len = zsock_send(c_sock, reply, len, 0); in test_send_reply() 172 reply = reply + out_len; in test_send_reply() 265 uint8_t reply[sizeof(pubcomp_reply_template)]; in broker_validate_packet() local 267 memcpy(reply, pubcomp_reply_template, sizeof(reply)); in broker_validate_packet() 268 memcpy(reply + 2, buf, 2); in broker_validate_packet() 269 test_send_reply(reply, sizeof(reply)); in broker_validate_packet() 275 uint8_t reply[sizeof(suback_reply_template)]; in broker_validate_packet() local 284 memcpy(reply, suback_reply_template, sizeof(suback_reply_template)); in broker_validate_packet() 286 memcpy(reply + 2, buf, 2); in broker_validate_packet() [all …]
|
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 870 struct net_pkt *reply; in test_solicit_expect_request_send_reply() local 887 reply = test_dhcpv6_create_message(test_ctx.iface, in test_solicit_expect_request_send_reply() 890 zassert_not_null(reply, "Failed to create pkt"); in test_solicit_expect_request_send_reply() 892 result = net_ipv6_input(reply, false); in test_solicit_expect_request_send_reply() 911 struct net_pkt *reply; in test_solicit_expect_solicit_send_advertise() local 932 reply = test_dhcpv6_create_message(test_ctx.iface, in test_solicit_expect_solicit_send_advertise() 935 zassert_not_null(reply, "Failed to create pkt"); in test_solicit_expect_solicit_send_advertise() 937 result = net_ipv6_input(reply, false); in test_solicit_expect_solicit_send_advertise() 982 struct net_pkt *reply; in expect_request_send_reply() local 989 reply = test_dhcpv6_create_message(test_ctx.iface, in expect_request_send_reply() [all …]
|
/Zephyr-latest/tests/kernel/lifo/lifo_usage/src/ |
D | main.c | 32 int32_t reply; member 180 reply_packet->reply = in test_thread_timeout_reply_values() 193 reply_packet->reply = in test_thread_timeout_reply_values_wfe() 352 zassert_false(reply_packet.reply); in ZTEST() 371 zassert_true(reply_packet.reply); in ZTEST() 390 zassert_true(reply_packet.reply); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 314 void *user_data = msg->reply ? msg->reply->user_data : NULL; in build_msg_block_for_send() 335 if (msg->reply) { in build_msg_block_for_send() 336 msg->reply->user_data = user_data; in build_msg_block_for_send() 510 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply) in find_msg() argument 515 if (!pending && !reply) { in find_msg() 525 if (reply != NULL && msg->reply == reply) { in find_msg() 535 if (reply != NULL && messages[i].ctx && messages[i].reply == reply) { in find_msg() 570 if (msg->reply) { in lm2m_message_clear_allocations() 572 coap_reply_clear(msg->reply); in lm2m_message_clear_allocations() 573 msg->reply = NULL; in lm2m_message_clear_allocations() [all …]
|
D | lwm2m_message_handling.h | 46 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply);
|
/Zephyr-latest/tests/kernel/fifo/fifo_timeout/src/ |
D | main.c | 39 int32_t reply; member 275 reply_packet->reply = in test_thread_timeout_reply_values() 285 reply_packet->reply = in test_thread_timeout_reply_values_wfe() 391 zassert_false(reply_packet.reply); in ZTEST() 410 zassert_true(reply_packet.reply); in ZTEST() 429 zassert_true(reply_packet.reply); in ZTEST()
|
/Zephyr-latest/drivers/ipm/ |
D | Kconfig.imx | 62 bool "Send FW_READY reply message" 64 Send FW_READY reply to check for FW boot completion
|
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | protocol.h | 120 struct scmi_message *msg, struct scmi_message *reply);
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 543 uint8_t *reply, size_t len, struct dhcp_msg *msg, in dhcpv4_send() argument 599 ret = zsock_sendto(ctx->sock, reply, len, 0, (struct sockaddr *)&dst_addr, in dhcpv4_send() 613 uint8_t reply[NET_IPV4_MTU]; in dhcpv4_send_offer() local 614 uint8_t *buf = reply; in dhcpv4_send_offer() 615 size_t buflen = sizeof(reply); in dhcpv4_send_offer() 636 reply_len = sizeof(reply) - buflen; in dhcpv4_send_offer() 638 ret = dhcpv4_send(ctx, NET_DHCPV4_MSG_TYPE_OFFER, reply, reply_len, in dhcpv4_send_offer() 654 uint8_t reply[NET_IPV4_MTU]; in dhcpv4_send_ack() local 655 uint8_t *buf = reply; in dhcpv4_send_ack() 656 size_t buflen = sizeof(reply); in dhcpv4_send_ack() [all …]
|
/Zephyr-latest/tests/boards/espressif/ethernet/ |
D | Kconfig | 20 If no reply is received within this time, test will fail.
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 76 struct net_pkt *reply; in send_icmp_echo_reply() local 80 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), payload_len, in send_icmp_echo_reply() 82 zassert_not_null(reply, "Failed to allocate echo reply"); in send_icmp_echo_reply() 84 zassert_ok(net_ipv4_create(reply, (struct in_addr *)ipv4_hdr->dst, in send_icmp_echo_reply() 88 zassert_ok(net_icmpv4_create(reply, NET_ICMPV4_ECHO_REPLY, 0), in send_icmp_echo_reply() 90 zassert_ok(net_pkt_copy(reply, pkt, payload_len), in send_icmp_echo_reply() 93 net_pkt_cursor_init(reply); in send_icmp_echo_reply() 94 net_ipv4_finalize(reply, IPPROTO_ICMP); in send_icmp_echo_reply() 96 zassert_ok(net_recv_data(test_ctx.iface, reply), "Failed to receive data"); in send_icmp_echo_reply()
|
/Zephyr-latest/include/zephyr/net/ |
D | coap.h | 351 struct coap_reply *reply, 393 coap_reply_t reply; member 1095 void coap_reply_init(struct coap_reply *reply, 1234 void coap_reply_clear(struct coap_reply *reply);
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | Kconfig | 76 Gratuitous in this case means a ARP request or reply that is not 81 ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur. 82 A gratuitous ARP reply is a reply to which no request has been made.
|
/Zephyr-latest/doc/hardware/arch/ |
D | arm-scmi.rst | 124 …``PRE_KERNEL_1`` or ``PRE_KERNEL_2`` phase start polling for reply, otherwise wait for reply doorb… 125 …ge from shared memory area, processes it, writes the reply back to the same area and rings the rep… 126 #. Zephyr reads reply from the shared memory area. 130 to use different mailbox channels for the request/reply doorbells.
|
/Zephyr-latest/drivers/usb/uvb/ |
D | uvb.h | 99 enum uvb_reply reply : 8;
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_udp_receiver.c | 87 uint8_t reply[BUF_SIZE]; in zperf_receiver_send_stat() local 90 build_reply(hdr, stat, reply); in zperf_receiver_send_stat() 92 ret = zsock_sendto(sock, reply, sizeof(reply), 0, addr, in zperf_receiver_send_stat()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 370 struct net_buf *reply, in send_response() argument 381 qtype, reply, dns_id, in send_response() 388 qtype, reply, dns_id, in send_response() 398 ret = zsock_sendto(sock, reply->data, reply->len, 0, in send_response()
|