Home
last modified time | relevance | path

Searched refs:NET_DBG (Results 1 – 25 of 120) sorted by relevance

12345

/Zephyr-4.2.1/subsys/net/lib/trickle/
Dtrickle.c48 NET_DBG("[%d, %d)", I, I << 1); in get_t()
60 NET_DBG("now %u (was at %u)", k_uptime_get_32(), last_end); in double_interval_timeout()
67 NET_DBG("double I %u", trickle->I); in double_interval_timeout()
71 NET_DBG("I %u", trickle->I); in double_interval_timeout()
77 NET_DBG("doubling time %u", rand_time); in double_interval_timeout()
84 NET_DBG("last end %u new end %u for %u I %u", in double_interval_timeout()
93 NET_DBG("now %d end in %d", now, diff); in reschedule()
98 NET_DBG("Clock wrap"); in reschedule()
108 NET_DBG("Trickle timeout at %d", k_uptime_get_32()); in interval_timeout()
111 NET_DBG("TX ok %d c(%u) < k(%u)", in interval_timeout()
[all …]
/Zephyr-4.2.1/samples/net/mdns_responder/src/
Dservice.c81 NET_DBG("socket() failed (%d)", errno); in service()
86 NET_DBG("server_fd is %d", server_fd); in service()
90 NET_DBG("bind() failed (%d)", errno); in service()
104 NET_DBG("bound to [%s]:%u", in service()
109 NET_DBG("listen() failed (%d)", errno); in service()
118 NET_DBG("accept() failed (%d)", errno); in service()
125 NET_DBG("accepted connection from [%s]:%u", in service()
131 NET_DBG("send() failed (%d)", errno); in service()
140 NET_DBG("recv() failed (%d)", errno); in service()
148 NET_DBG("send() failed (%d)", errno); in service()
/Zephyr-4.2.1/subsys/net/lib/sntp/
Dsntp.c30 NET_DBG("li %x", pkt->li); in sntp_pkt_dump()
31 NET_DBG("vn %x", pkt->vn); in sntp_pkt_dump()
32 NET_DBG("mode %x", pkt->mode); in sntp_pkt_dump()
33 NET_DBG("stratum: %x", pkt->stratum); in sntp_pkt_dump()
34 NET_DBG("poll: %x", pkt->poll); in sntp_pkt_dump()
35 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
36 NET_DBG("root_delay: %x", net_ntohl(pkt->root_delay)); in sntp_pkt_dump()
37 NET_DBG("root_dispersion: %x", net_ntohl(pkt->root_dispersion)); in sntp_pkt_dump()
38 NET_DBG("ref_id: %x", net_ntohl(pkt->ref_id)); in sntp_pkt_dump()
39 NET_DBG("ref_tm_s: %x", net_ntohl(pkt->ref_tm_s)); in sntp_pkt_dump()
[all …]
/Zephyr-4.2.1/subsys/net/ip/
D6lo.c67 NET_DBG("UDP NHC dispatch doesn't match"); in get_udp_nhc_inlined_size()
77 NET_DBG("Size of inlined UDP HDR data: %d", size); in get_udp_nhc_inlined_size()
88 NET_DBG("IPHC dispatch doesn't match"); in get_ihpc_inlined_size()
113 NET_DBG("Size of inlined IP HDR data: %d", size); in get_ihpc_inlined_size()
212 NET_DBG("Either no free slots in the table or exceeds limit"); in net_6lo_set_context()
280 NET_DBG("Traffic class and Flow label elided"); in compress_tfl()
285 NET_DBG("Flow label elided"); in compress_tfl()
295 NET_DBG("ECN + 2-bit Pad + Flow Label, DSCP is elided"); in compress_tfl()
306 NET_DBG("ECN + DSCP + 4-bit Pad + Flow Label"); in compress_tfl()
331 NET_DBG("HLIM compressed (1)"); in compress_hoplimit()
[all …]
Dipv6.c180 NET_DBG("Unknown option %d (0x%02x) MSB %d - 0x%02x", in ipv6_drop_on_unknown_option()
221 NET_DBG("Corrupted packet, extension header %d too long " in ipv6_handle_ext_hdr_options()
249 NET_DBG("PAD1 option"); in ipv6_handle_ext_hdr_options()
253 NET_DBG("PADN option"); in ipv6_handle_ext_hdr_options()
302 NET_DBG("%s route to %s/%d iface %p", route ? "Add" : "Cannot add", in add_route()
313 NET_DBG("Will not route pkt %p ll src %s to dst %s between interfaces", in ipv6_no_route_info()
366 NET_DBG("Route pkt %p from %p to %p", in ipv6_route_packet()
375 NET_DBG("Cannot re-route pkt %p via %s " in ipv6_route_packet()
389 NET_DBG("Cannot re-route pkt %p " in ipv6_route_packet()
397 NET_DBG("No route to %s pkt %p dropped", in ipv6_route_packet()
[all …]
Dnet_core.c79 NET_DBG("Corrupted packet (frags %p)", pkt->frags); in process_data()
89 NET_DBG("Packet %p discarded by L2", pkt); in process_data()
122 NET_DBG("Unknown IP family packet (0x%x)", NET_IPV6_HDR(pkt)->vtc & 0xf0); in process_data()
130 NET_DBG("Unknown protocol family packet (0x%x)", family); in process_data()
145 NET_DBG("Dropping pkt %p", pkt); in processing_data()
150 NET_DBG("Consumed pkt %p", pkt); in processing_data()
154 NET_DBG("Dropping pkt %p", pkt); in processing_data()
199 NET_DBG("DROP: IPv6 hop limit"); in check_ip()
218 NET_DBG("DROP: IPv6 dst address missing"); in check_ip()
252 NET_DBG("IPv6 interface scope mcast dst address"); in check_ip()
[all …]
Dipv6_nbr.c146 NET_DBG("nbr %p %s -> %s", nbr, in ipv6_nbr_set_state()
236 NET_DBG("[%d] %p %d/%d/%d/%d/%d pending %p iface %p/%d " in nbr_print()
289 NET_DBG("Releasing pending pkt %p (ref %ld)", in nbr_clear_ns_pending()
298 NET_DBG("nbr %p", nbr); in nbr_free()
410 NET_DBG("NS nbr %p pending %p timeout to %s", nbr, pending, in ipv6_ns_reply_timeout()
413 NET_DBG("Dropping pending pkt %p", pending); in ipv6_ns_reply_timeout()
429 NET_DBG("Dropping neighbor %p", nbr); in ipv6_ns_reply_timeout()
496 NET_DBG("nbr %p iface %p/%d state %d IPv6 %s", in nbr_new()
512 NET_DBG("Updating neighbor %s lladdr %s (was %s)", in dbg_update_neighbor_lladdr()
533 NET_DBG("%s %s from %s to %s iface %p/%d", \
[all …]
Dicmpv4.c434 NET_DBG("DROP: src addr is unspecified"); in icmpv4_handle_echo_request()
438 NET_DBG("Received Echo Request from %s to %s", in icmpv4_handle_echo_request()
456 NET_DBG("DROP: No buffer"); in icmpv4_handle_echo_request()
465 NET_DBG("DROP: No src address match"); in icmpv4_handle_echo_request()
494 NET_DBG("Sending Echo Reply from %s to %s", in icmpv4_handle_echo_request()
552 NET_DBG("Not sending error to bcast pkt from %s on proto %s", in net_icmpv4_send_error()
591 NET_DBG("Sending ICMPv4 Error Message type %d code %d from %s to %s", in net_icmpv4_send_error()
621 NET_DBG("DROP: NULL ICMPv4 header"); in net_icmpv4_input()
628 NET_DBG("DROP: Invalid checksum"); in net_icmpv4_input()
636 NET_DBG("DROP: broadcast pkt"); in net_icmpv4_input()
[all …]
Dipv4_acd.c109 NET_DBG("Failed to prepare probe %p", iface); in ipv4_acd_send_probe()
126 NET_DBG("Failed to prepare announcement %p", iface); in ipv4_acd_send_announcement()
166 NET_DBG("Sending probe for %s", in ipv4_acd_manage_timeout()
194 NET_DBG("Sending announcement for %s", in ipv4_acd_manage_timeout()
206 NET_DBG("IPv4 conflict detection done for %s", in ipv4_acd_manage_timeout()
251 NET_DBG("Rate limiting"); in acd_start_timer()
272 NET_DBG("Invalid ARP header (len %zu, min %zu bytes)", in net_ipv4_acd_input()
310 NET_DBG("Conflict detected from %s for %s", in net_ipv4_acd_input()
346 NET_DBG("Conflict detected from %s for %s", in net_ipv4_acd_input()
357 NET_DBG("Defending address %s", in net_ipv4_acd_input()
[all …]
Dipv4.c267 NET_DBG("DROP: no buffer"); in net_ipv4_input()
273 NET_DBG("DROP: Invalid hdr length"); in net_ipv4_input()
297 NET_DBG("DROP: pkt len per hdr %d != pkt real len %d", in net_ipv4_input()
307 NET_DBG("DROP: localhost packet"); in net_ipv4_input()
312 NET_DBG("DROP: src addr is %s", "mine"); in net_ipv4_input()
318 NET_DBG("DROP: src addr is %s", "mcast"); in net_ipv4_input()
323 NET_DBG("DROP: src addr is %s", "bcast"); in net_ipv4_input()
330 NET_DBG("DROP: src addr is %s", "unspecified"); in net_ipv4_input()
336 NET_DBG("DROP: invalid chksum"); in net_ipv4_input()
361 NET_DBG("DROP: not for me"); in net_ipv4_input()
[all …]
Dicmpv6.c117 NET_DBG("Received Echo Request from %s to %s", in icmpv6_handle_echo_request()
132 NET_DBG("DROP: No buffer"); in icmpv6_handle_echo_request()
141 NET_DBG("DROP: No src address match"); in icmpv6_handle_echo_request()
159 NET_DBG("DROP: wrong buffer"); in icmpv6_handle_echo_request()
165 NET_DBG("DROP: wrong buffer"); in icmpv6_handle_echo_request()
172 NET_DBG("Sending Echo Reply from %s to %s", in icmpv6_handle_echo_request()
327 NET_DBG("Sending ICMPv6 Error Message type %d code %d param %d" in net_icmpv6_send_error()
356 NET_DBG("DROP: NULL ICMPv6 header"); in net_icmpv6_input()
364 NET_DBG("DROP: invalid checksum"); in net_icmpv6_input()
371 NET_DBG("ICMPv6 %s received type %d code %d", in net_icmpv6_input()
/Zephyr-4.2.1/tests/net/ipv6_fragment/src/
Dmain.c1019 NET_DBG("test_type %d, frag count %d", test_type, frag_count); in verify_fragment()
1048 NET_DBG("Invalid length, 1st byte"); in verify_fragment()
1054 NET_DBG("Invalid length, 2nd byte"); in verify_fragment()
1062 NET_DBG("Invalid offset %d", offset); in verify_fragment()
1067 NET_DBG("Invalid MORE flag for first fragment"); in verify_fragment()
1082 NET_DBG(""); in verify_fragment()
1100 NET_DBG("Invalid length, 1st byte"); in verify_fragment()
1106 NET_DBG("Invalid length, 2nd byte"); in verify_fragment()
1114 NET_DBG("Invalid offset %d received %d", in verify_fragment()
1121 NET_DBG("Invalid MORE flag for second fragment"); in verify_fragment()
[all …]
/Zephyr-4.2.1/subsys/net/lib/dns/
Ddns_sd.c106 NET_DBG("label is NULL"); in label_is_valid()
117 NET_DBG("label invalid size (%zu, min: %u, max: %u)", in label_is_valid()
139 NET_DBG("label '%s' contains illegal byte 0x%02x", label, label[i]); in label_is_valid()
152 NET_DBG("instance is NULL"); in instance_is_valid()
158 NET_DBG("instance '%s' is too small (%zu, min: %u)", in instance_is_valid()
165 NET_DBG("instance '%s' is too big (%zu, max: %u)", in instance_is_valid()
175 NET_DBG( in instance_is_valid()
190 NET_DBG("service is NULL"); in service_is_valid()
196 NET_DBG("service '%s' is too small (%zu, min: %u)", in service_is_valid()
202 NET_DBG("service '%s' is too big (%zu, max: %u)", in service_is_valid()
[all …]
Dmdns_responder.c171 NET_DBG("Cannot add IPv4 multicast address %s to iface %d (%d)", in mdns_iface_event_handler()
211 NET_DBG("Cannot set %s multicast %s (%d)", "IPv4", "TTL", ret); in setup_dst_addr()
225 NET_DBG("Cannot set %s multicast %s (%d)", "IPv6", "hoplimit", ret); in setup_dst_addr()
359 NET_DBG("unable to set up the response address"); in send_response()
414 NET_DBG("Cannot send %s reply (%d)", "mDNS", ret); in send_response()
472 NET_DBG("unable to set up the response address"); in send_sd_response()
511 NET_DBG("unable to extract query (%d)", ret); in send_sd_response()
547 NET_DBG("matched query: %s.%s.%s.%s port: %u", in send_sd_response()
557 NET_DBG("dns_sd_handle_service_type_enum() failed (%d)", in send_sd_response()
565 NET_DBG("dns_sd_handle_ptr_query() failed (%d)", ret); in send_sd_response()
[all …]
Ddns_cache.c46 NET_DBG("Add \"%s\" with TTL %" PRIu32, query, ttl); in dns_cache_add()
62 NET_DBG("Overwrite \"%s\"", cache->entries[index_to_replace].query); in dns_cache_add()
82 NET_DBG("Remove all entries with query \"%s\"", query); in dns_cache_remove()
111 NET_DBG("Find \"%s\"", query); in dns_cache_find()
149 NET_DBG("Found \"%s\"", query); in dns_cache_find()
160 NET_DBG("Could not find \"%s\"", query); in dns_cache_find()
174 NET_DBG("Remove \"%s\"", cache->entries[i].query); in dns_cache_clean()
/Zephyr-4.2.1/subsys/net/lib/dhcpv4/
Ddhcpv4.c371 NET_DBG("Message creation failed"); in dhcpv4_create_message()
380 NET_DBG("force timeout dhcpv4=%p", dhcpv4); in dhcpv4_immediate_timeout()
390 NET_DBG("sched timeout dhcpv4=%p timeout=%us", dhcpv4, timeout); in dhcpv4_set_timeout()
409 NET_DBG("sched timeout dhcpv4=%p timeout=%us", dhcpv4, timeout); in dhcpv4_set_timeout_inc()
607 NET_DBG("send request dst=%s xid=0x%x ciaddr=%s%s%s timeout=%us", in dhcpv4_send_request()
649 NET_DBG("send discover xid=0x%x timeout=%us", in dhcpv4_send_discover()
704 NET_DBG("enter state=%s", in dhcpv4_enter_selecting()
712 NET_DBG("enter state=%s", in dhcpv4_enter_requesting()
751 NET_DBG("enter state=%s renewal=%us rebinding=%us", in dhcpv4_enter_bound()
766 NET_DBG("enter state=%s", in dhcpv4_enter_renewing()
[all …]
/Zephyr-4.2.1/subsys/net/lib/http/
Dhttp_server_ws.c60 NET_DBG("[%p] Too short buffer olen %zd", client, olen); in handle_http1_to_websocket_upgrade()
69 NET_DBG("Cannot write to socket (%d)", ret); in handle_http1_to_websocket_upgrade()
77 NET_DBG("Cannot write to socket (%d)", ret); in handle_http1_to_websocket_upgrade()
89 NET_DBG("Cannot write to socket (%d)", ret); in handle_http1_to_websocket_upgrade()
109 NET_DBG("Cannot register websocket (%d)", ret); in handle_http1_to_websocket_upgrade()
122 NET_DBG("WS connection failed (%d)", ret); in handle_http1_to_websocket_upgrade()
/Zephyr-4.2.1/subsys/net/l2/ppp/
Dfsm.c90 NET_DBG("[%s/%p] Sending %s (%d) id %d to peer while in %s (%d)", in fsm_send_configure_req()
108 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_timeout()
116 NET_DBG("[%s/%p] %s retransmit limit %d reached", in ppp_fsm_timeout()
165 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_timeout()
227 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_close()
263 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_close()
271 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_lower_down()
307 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_lower_down()
315 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_lower_up()
333 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_lower_up()
[all …]
/Zephyr-4.2.1/subsys/net/
Dhostname.c55 NET_DBG("New hostname %s", hostname); in net_hostname_set()
91 NET_DBG("New hostname %s", hostname); in net_hostname_set_postfix()
119 NET_DBG("Hostname postfix length %d is exceeding limit of %d", postfix_len, in net_hostname_set_postfix_str()
126 NET_DBG("New Unique hostname: %s", hostname); in net_hostname_set_postfix_str()
141 NET_DBG("Hostname set to %s", CONFIG_NET_HOSTNAME); in net_hostname_init()
/Zephyr-4.2.1/subsys/net/lib/capture/
Dcooked.c61 NET_DBG("No such interface \"any\", cannot init interface %d", in iface_init()
67 NET_DBG("The \"any\" interface %d is wrong type", ifindex); in iface_init()
92 NET_DBG("Cannot hook into interface %d (%d)", in iface_init()
97 NET_DBG("Interface %d attached on top of %d", in iface_init()
124 NET_DBG("Starting iface %d", net_if_get_by_iface(ctx->iface)); in interface_start()
139 NET_DBG("Stopping iface %d", net_if_get_by_iface(ctx->iface)); in interface_stop()
157 NET_DBG("Capture pkt %p for interface %d", pkt, net_if_get_by_iface(iface)); in interface_recv()
169 NET_DBG("Handler found for packet type 0x%04x", ptype); in interface_recv()
184 NET_DBG("No handler found for packet type 0x%04x", ptype); in interface_recv()
216 NET_DBG("Adding link type %u", config->link_types.type[i]); in interface_set_config()
[all …]
/Zephyr-4.2.1/subsys/net/conn_mgr/
Devents_handler.c26 NET_DBG("%s event 0x%" PRIx64 " received on iface %d (%p)", "Iface", mgmt_event, in conn_mgr_iface_events_handler()
35 NET_DBG("Iface index %u", idx); in conn_mgr_iface_events_handler()
63 NET_DBG("%s event 0x%" PRIx64 " received on iface %d (%p)", "IPv6", mgmt_event, in conn_mgr_ipv6_events_handler()
72 NET_DBG("Iface index %u", idx); in conn_mgr_ipv6_events_handler()
121 NET_DBG("%s event 0x%" PRIx64 " received on iface %d (%p)", "IPv4", mgmt_event, in conn_mgr_ipv4_events_handler()
130 NET_DBG("Iface index %u", idx); in conn_mgr_ipv4_events_handler()
/Zephyr-4.2.1/subsys/net/lib/mqtt/
Dmqtt_rx.c33 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_CONNACK!", client); in mqtt_handle_packet()
38 NET_DBG("[CID %p]: return_code: %d", client, in mqtt_handle_packet()
60 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBLISH", client); in mqtt_handle_packet()
70 NET_DBG("PUB QoS:%02x, message len %08x, topic len %08x", in mqtt_handle_packet()
78 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBACK!", client); in mqtt_handle_packet()
86 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBREC!", client); in mqtt_handle_packet()
95 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBREL!", client); in mqtt_handle_packet()
104 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBCOMP!", client); in mqtt_handle_packet()
113 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_SUBACK!", client); in mqtt_handle_packet()
121 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_UNSUBACK!", client); in mqtt_handle_packet()
[all …]
/Zephyr-4.2.1/tests/net/socket/tls_ext/src/
Dmain.c167 NET_DBG("Server thread running"); in server_thread_fn()
172 NET_DBG("Accepting client connection.."); in server_thread_fn()
187 NET_DBG("accepted connection from [%s]:%d as fd %d", in server_thread_fn()
191 NET_DBG("calling recv()"); in server_thread_fn()
197 NET_DBG("calling send()"); in server_thread_fn()
204 NET_DBG("closing client fd"); in server_thread_fn()
232 NET_DBG("Creating server socket"); in test_configure_server()
286 NET_DBG("listening on [%s]:%d as fd %d", in test_configure_server()
289 NET_DBG("Creating server thread"); in test_configure_server()
324 NET_DBG("Creating client socket"); in test_configure_client()
[all …]
/Zephyr-4.2.1/subsys/net/l2/virtual/
Dvirtual.c45 NET_DBG("Interface %d is down.", in virtual_recv()
82 NET_DBG("Received pkt %p len %zu", pkt, pkt_len); in virtual_recv()
111 NET_DBG("Interface %d is down.", net_if_get_by_iface(iface)); in virtual_recv()
127 NET_DBG("Received pkt %p len %zu", pkt, pkt_len); in virtual_recv()
139 NET_DBG("No handler, dropping pkt %p len %zu", pkt, net_pkt_get_len(pkt)); in virtual_recv()
156 NET_DBG("Interface %d is down.", in virtual_send()
170 NET_DBG("Sent pkt %p len %zu", pkt, pkt_len); in virtual_send()
209 NET_DBG("Taking iface %d up", net_if_get_by_iface(ctx->iface)); in virtual_enable()
297 NET_DBG("Detaching %d from %d", in net_virtual_interface_attach()
314 NET_DBG("Attaching %d to %d", in net_virtual_interface_attach()
[all …]
/Zephyr-4.2.1/subsys/net/l2/ethernet/
Darp.c47 NET_DBG("entry %p", entry); in arp_entry_cleanup()
54 NET_DBG("Releasing pending pkt %p (ref %ld)", in arp_entry_cleanup()
75 NET_DBG("iface %d (%p) dst %s", in arp_entry_find()
81 NET_DBG("found dst %s", in arp_entry_find()
101 NET_DBG("dst %s", net_sprint_ipv4_addr(dst)); in arp_entry_find_move_first()
123 NET_DBG("dst %s", net_sprint_ipv4_addr(dst)); in arp_entry_find_pending()
134 NET_DBG("dst %s", net_sprint_ipv4_addr(dst)); in arp_entry_get_pending()
185 NET_DBG("dst %s", net_sprint_ipv4_addr(&entry->ip)); in arp_entry_register_pending()
351 NET_DBG("Generating request for %s", net_sprint_ipv4_addr(next_addr)); in arp_prepare()
429 NET_DBG("Pending ARP request for %s, queuing pkt %p", in net_arp_prepare()
[all …]

12345