/Zephyr-Core-3.4.0/subsys/net/ip/ |
D | icmpv4.c | 29 struct net_pkt *reply; member 83 struct net_pkt *reply, in icmpv4_update_record_route() argument 86 uint8_t len = net_pkt_ipv4_opts_len(reply); in icmpv4_update_record_route() 93 if (net_pkt_write_u8(reply, NET_IPV4_OPTS_RR)) { in icmpv4_update_record_route() 99 if (net_pkt_write_u8(reply, opt_len + 2U)) { in icmpv4_update_record_route() 119 if (net_pkt_write_u8(reply, ptr)) { in icmpv4_update_record_route() 125 if (net_pkt_write(reply, opt_data + offset, opt_len)) { in icmpv4_update_record_route() 131 net_pkt_set_ipv4_opts_len(reply, len); in icmpv4_update_record_route() 145 if (net_pkt_write_u8(reply, ptr + addr_len)) { in icmpv4_update_record_route() 154 if (net_pkt_write(reply, opt_data + offset, skip)) { in icmpv4_update_record_route() [all …]
|
D | icmpv6.c | 113 struct net_pkt *reply = NULL; in icmpv6_handle_echo_request() local 130 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), payload_len, in icmpv6_handle_echo_request() 133 if (!reply) { in icmpv6_handle_echo_request() 149 net_pkt_lladdr_dst(reply)->addr = NULL; in icmpv6_handle_echo_request() 150 net_pkt_lladdr_src(reply)->addr = NULL; in icmpv6_handle_echo_request() 152 net_pkt_set_ip_dscp(reply, net_pkt_ip_dscp(pkt)); in icmpv6_handle_echo_request() 153 net_pkt_set_ip_ecn(reply, net_pkt_ip_ecn(pkt)); in icmpv6_handle_echo_request() 155 if (net_ipv6_create(reply, src, (struct in6_addr *)ip_hdr->src)) { in icmpv6_handle_echo_request() 160 if (net_icmpv6_create(reply, NET_ICMPV6_ECHO_REPLY, 0) || in icmpv6_handle_echo_request() 161 net_pkt_copy(reply, pkt, payload_len)) { in icmpv6_handle_echo_request() [all …]
|
/Zephyr-Core-3.4.0/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-Core-3.4.0/tests/net/tcp/src/ |
D | main.c | 462 struct net_pkt *reply; in handle_client_test() local 470 reply = prepare_syn_ack_packet(af, htons(MY_PORT), in handle_client_test() 484 reply = prepare_ack_packet(af, htons(MY_PORT), th->th_sport); in handle_client_test() 492 reply = prepare_fin_ack_packet(af, htons(MY_PORT), in handle_client_test() 504 ret = net_recv_data(iface, reply); in handle_client_test() 640 struct net_pkt *reply; in handle_server_test() local 645 reply = prepare_syn_packet(af, htons(MY_PORT), in handle_server_test() 653 reply = prepare_ack_packet(af, htons(MY_PORT), in handle_server_test() 658 reply = prepare_data_packet(af, htons(MY_PORT), in handle_server_test() 665 reply = prepare_fin_ack_packet(af, htons(MY_PORT), in handle_server_test() [all …]
|
/Zephyr-Core-3.4.0/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-Core-3.4.0/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 466 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply) in find_msg() argument 471 if (!pending && !reply) { in find_msg() 481 if (reply != NULL && msg->reply == reply) { in find_msg() 491 if (reply != NULL && messages[i].ctx && messages[i].reply == reply) { in find_msg() 520 if (msg->reply) { in lm2m_message_clear_allocations() 522 coap_reply_clear(msg->reply); in lm2m_message_clear_allocations() 523 msg->reply = NULL; in lm2m_message_clear_allocations() 632 msg->reply = in lwm2m_init_message() 634 if (!msg->reply) { in lwm2m_init_message() 640 coap_reply_clear(msg->reply); in lwm2m_init_message() [all …]
|
D | lwm2m_message_handling.h | 46 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply);
|
D | lwm2m_pull_context.c | 219 struct coap_reply *reply, const struct sockaddr *from) in do_firmware_transfer_reply_cb() argument 276 reply->user_data = (void *)COAP_REPLY_STATUS_ERROR; in do_firmware_transfer_reply_cb()
|
D | lwm2m_rd_client.c | 401 struct coap_reply *reply, in do_bootstrap_reply_cb() argument 463 struct coap_reply *reply, in do_registration_reply_cb() argument 533 struct coap_reply *reply, in do_update_reply_cb() argument 574 struct coap_reply *reply, in do_deregister_reply_cb() argument
|
/Zephyr-Core-3.4.0/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-Core-3.4.0/subsys/net/l2/ethernet/ |
D | Kconfig | 60 Gratuitous in this case means a ARP request or reply that is not 65 ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur. 66 A gratuitous ARP reply is a reply to which no request has been made.
|
D | arp.c | 597 struct net_pkt *reply; in net_arp_input() local 689 reply = arp_prepare_reply(net_pkt_iface(pkt), pkt, eth_hdr, in net_arp_input() 691 if (reply) { in net_arp_input() 692 net_if_queue_tx(net_pkt_iface(reply), reply); in net_arp_input()
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | coap.h | 264 struct coap_reply *reply, 285 coap_reply_t reply; member 776 void coap_reply_init(struct coap_reply *reply, 905 void coap_reply_clear(struct coap_reply *reply);
|
/Zephyr-Core-3.4.0/subsys/net/lib/zperf/ |
D | zperf_udp_receiver.c | 85 uint8_t reply[BUF_SIZE]; in zperf_receiver_send_stat() local 88 build_reply(hdr, stat, reply); in zperf_receiver_send_stat() 90 ret = zsock_sendto(sock, reply, sizeof(reply), 0, addr, in zperf_receiver_send_stat()
|
/Zephyr-Core-3.4.0/subsys/net/lib/dns/ |
D | llmnr_responder.c | 399 union net_ip_header *ip_hdr, struct net_buf *reply, in send_response() argument 408 ret = create_ipv4_answer(ctx, pkt, ip_hdr, qtype, reply, in send_response() 415 ret = create_ipv6_answer(ctx, pkt, ip_hdr, qtype, reply, in send_response() 425 ret = net_context_sendto(ctx, reply->data, reply->len, &dst, in send_response()
|
/Zephyr-Core-3.4.0/drivers/usb/uvb/ |
D | uvb.h | 99 enum uvb_reply reply : 8;
|
D | uvb.c | 64 pkt->reply = UVB_REPLY_TIMEOUT; in uvb_alloc_pkt()
|
/Zephyr-Core-3.4.0/tests/net/lib/coap/src/ |
D | main.c | 931 struct coap_reply *reply, in resource_reply_cb() argument 943 struct coap_reply *reply; in ZTEST() local 969 reply = coap_reply_next_unused(replies, NUM_REPLIES); in ZTEST() 970 zassert_not_null(reply, "No resources for waiting for replies"); in ZTEST() 972 coap_reply_init(reply, &req); in ZTEST() 973 reply->reply = resource_reply_cb; in ZTEST() 992 reply = coap_response_received(&rsp, in ZTEST() 995 zassert_not_null(reply, "Couldn't find a matching waiting reply"); in ZTEST()
|
/Zephyr-Core-3.4.0/subsys/net/lib/coap/ |
D | coap.c | 1318 if (!r->reply) { in coap_reply_next_unused() 1502 r->reply(response, r, from); in coap_response_received() 1511 void coap_reply_init(struct coap_reply *reply, in coap_reply_init() argument 1517 reply->id = coap_header_get_id(request); in coap_reply_init() 1521 memcpy(reply->token, token, tkl); in coap_reply_init() 1524 reply->tkl = tkl; in coap_reply_init() 1527 reply->age = -1; in coap_reply_init() 1530 void coap_reply_clear(struct coap_reply *reply) in coap_reply_clear() argument 1532 (void)memset(reply, 0, sizeof(*reply)); in coap_reply_clear()
|
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 633 struct net_pkt *reply; in gptp_handle_pdelay_req() local 647 reply = gptp_prepare_pdelay_resp(port, pkt); in gptp_handle_pdelay_req() 648 if (!reply) { in gptp_handle_pdelay_req() 653 reply, in gptp_handle_pdelay_req() 661 net_pkt_ref(reply); in gptp_handle_pdelay_req() 665 gptp_send_pdelay_resp(port, reply, net_pkt_timestamp(pkt)); in gptp_handle_pdelay_req()
|
/Zephyr-Core-3.4.0/samples/net/sockets/coap_client/ |
D | README.rst | 39 reply: 60 00 00 00 00 24 11 40 fe 80 00 00 00 00 00 00 5c 25 e2 ff fe
|
/Zephyr-Core-3.4.0/tests/net/lib/lwm2m/lwm2m_rd_client/src/ |
D | main.c | 145 struct coap_reply reply; in message_reply_cb_default() local 149 memset(&reply, 0, sizeof(struct coap_reply)); in message_reply_cb_default() 152 msg->reply_cb(&response, &reply, &from); in message_reply_cb_default()
|
/Zephyr-Core-3.4.0/subsys/mgmt/updatehub/ |
D | updatehub.c | 687 struct coap_packet reply; in probe_cb() local 703 if (coap_packet_parse(&reply, tmp, rcvd, NULL, 0) < 0) { in probe_cb() 709 if (coap_header_get_code(&reply) == COAP_RESPONSE_CODE_NOT_FOUND) { in probe_cb() 715 payload_start = coap_packet_get_payload(&reply, &payload_len); in probe_cb()
|
/Zephyr-Core-3.4.0/drivers/usb/udc/ |
D | udc_virtual.c | 56 const enum uvb_reply reply) in vrt_request_reply() argument 60 pkt->reply = reply; in vrt_request_reply()
|
/Zephyr-Core-3.4.0/samples/net/capture/ |
D | README.rst | 209 …192.0.2.2 ICMP 94 Echo (ping) request id=0xdc36, seq=0/0, ttl=64 (reply in 35) 220 … 192.0.2.2 192.0.2.1 ICMP 94 Echo (ping) reply id=0xdc36, seq=…
|