Home
last modified time | relevance | path

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

12345

/Zephyr-Core-3.7.0/subsys/net/lib/sntp/
Dsntp.c28 NET_DBG("li %x", pkt->li); in sntp_pkt_dump()
29 NET_DBG("vn %x", pkt->vn); in sntp_pkt_dump()
30 NET_DBG("mode %x", pkt->mode); in sntp_pkt_dump()
31 NET_DBG("stratum: %x", pkt->stratum); in sntp_pkt_dump()
32 NET_DBG("poll: %x", pkt->poll); in sntp_pkt_dump()
33 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
34 NET_DBG("root_delay: %x", ntohl(pkt->root_delay)); in sntp_pkt_dump()
35 NET_DBG("root_dispersion: %x", ntohl(pkt->root_dispersion)); in sntp_pkt_dump()
36 NET_DBG("ref_id: %x", ntohl(pkt->ref_id)); in sntp_pkt_dump()
37 NET_DBG("ref_tm_s: %x", ntohl(pkt->ref_tm_s)); in sntp_pkt_dump()
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/samples/net/mdns_responder/src/
Dservice.c78 NET_DBG("socket() failed (%d)", errno); in service()
83 NET_DBG("server_fd is %d", server_fd); in service()
87 NET_DBG("bind() failed (%d)", errno); in service()
101 NET_DBG("bound to [%s]:%u", in service()
106 NET_DBG("listen() failed (%d)", errno); in service()
115 NET_DBG("accept() failed (%d)", errno); in service()
122 NET_DBG("accepted connection from [%s]:%u", in service()
128 NET_DBG("send() failed (%d)", errno); in service()
137 NET_DBG("recv() failed (%d)", errno); in service()
145 NET_DBG("send() failed (%d)", errno); in service()
/Zephyr-Core-3.7.0/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()
210 NET_DBG("Either no free slots in the table or exceeds limit"); in net_6lo_set_context()
278 NET_DBG("Traffic class and Flow label elided"); in compress_tfl()
283 NET_DBG("Flow label elided"); in compress_tfl()
293 NET_DBG("ECN + 2-bit Pad + Flow Label, DSCP is elided"); in compress_tfl()
304 NET_DBG("ECN + DSCP + 4-bit Pad + Flow Label"); in compress_tfl()
329 NET_DBG("HLIM compressed (1)"); in compress_hoplimit()
[all …]
Dnet_core.c85 NET_DBG("Corrupted packet (frags %p)", pkt->frags); in process_data()
95 NET_DBG("Packet %p discarded by L2", pkt); in process_data()
141 NET_DBG("Unknown IP family packet (0x%x)", NET_IPV6_HDR(pkt)->vtc & 0xf0); in process_data()
149 NET_DBG("Unknown protocol family packet (0x%x)", family); in process_data()
164 NET_DBG("Dropping pkt %p", pkt); in processing_data()
169 NET_DBG("Consumed pkt %p", pkt); in processing_data()
173 NET_DBG("Dropping pkt %p", pkt); in processing_data()
233 NET_DBG("DROP: IPv6 hop limit"); in check_ip()
252 NET_DBG("DROP: IPv6 dst address missing"); in check_ip()
289 NET_DBG("IPv6 interface scope mcast dst address"); in check_ip()
[all …]
Dipv6.c171 NET_DBG("Unknown option %d (0x%02x) MSB %d - 0x%02x", in ipv6_drop_on_unknown_option()
212 NET_DBG("Corrupted packet, extension header %d too long " in ipv6_handle_ext_hdr_options()
240 NET_DBG("PAD1 option"); in ipv6_handle_ext_hdr_options()
244 NET_DBG("PADN option"); in ipv6_handle_ext_hdr_options()
293 NET_DBG("%s route to %s/%d iface %p", route ? "Add" : "Cannot add", in add_route()
304 NET_DBG("Will not route pkt %p ll src %s to dst %s between interfaces", in ipv6_no_route_info()
355 NET_DBG("Route pkt %p from %p to %p", in ipv6_route_packet()
365 NET_DBG("Cannot re-route pkt %p via %s " in ipv6_route_packet()
379 NET_DBG("Cannot re-route pkt %p " in ipv6_route_packet()
387 NET_DBG("No route to %s pkt %p dropped", in ipv6_route_packet()
[all …]
Dipv4_acd.c102 NET_DBG("Failed to prepare probe %p", iface); in ipv4_acd_send_probe()
119 NET_DBG("Failed to prepare announcement %p", iface); in ipv4_acd_send_announcement()
159 NET_DBG("Sending probe for %s", in ipv4_acd_manage_timeout()
187 NET_DBG("Sending announcement for %s", in ipv4_acd_manage_timeout()
199 NET_DBG("IPv4 conflict detection done for %s", in ipv4_acd_manage_timeout()
244 NET_DBG("Rate limiting"); in acd_start_timer()
265 NET_DBG("Invalid ARP header (len %zu, min %zu bytes)", in net_ipv4_acd_input()
300 NET_DBG("Conflict detected from %s for %s", in net_ipv4_acd_input()
336 NET_DBG("Conflict detected from %s for %s", in net_ipv4_acd_input()
347 NET_DBG("Defending address %s", in net_ipv4_acd_input()
[all …]
Dipv6_nbr.c159 NET_DBG("nbr %p %s -> %s", nbr, in ipv6_nbr_set_state()
249 NET_DBG("[%d] %p %d/%d/%d/%d/%d pending %p iface %p/%d " in nbr_print()
305 NET_DBG("nbr %p", nbr); in nbr_free()
402 NET_DBG("NS nbr %p pending %p timeout to %s", nbr, in ipv6_ns_reply_timeout()
451 NET_DBG("nbr %p iface %p/%d state %d IPv6 %s", in nbr_new()
467 NET_DBG("Updating neighbor %s lladdr %s (was %s)", in dbg_update_neighbor_lladdr()
487 NET_DBG("%s %s from %s to %s iface %p/%d", \
503 NET_DBG("%s %s from %s to %s, target %s iface %p/%d", \
642 NET_DBG("Cannot send NS (%d)", ret); in net_ipv6_nbr_add()
646 NET_DBG("[%d] nbr %p state %d router %d IPv6 %s ll %s iface %p/%d", in net_ipv6_nbr_add()
[all …]
Droute.c45 NET_DBG("Nexthop %p removed", nbr); in net_route_nexthop_remove()
99 NET_DBG("Route %p removed", nbr); in net_route_entry_remove()
104 NET_DBG("Route table %p cleared", table); in net_route_entries_table_clear()
171 NET_DBG("[%d] %p %d addr %s/%d", in net_routes_print()
175 NET_DBG(" iface %p idx %d ll %s", in net_routes_print()
188 NET_DBG("nbr %p", nbr); in nbr_free()
208 NET_DBG("[%d] nbr %p iface %p IPv6 %s/%d", in nbr_new()
226 NET_DBG("Next hop neighbor not found!"); in nbr_nexthop_get()
232 NET_DBG("[%d] nbr %p iface %p IPv6 %s", in nbr_nexthop_get()
243 NET_DBG("[%d] nbr %p iface %p", nbr->idx, nbr, nbr->iface); in nbr_nexthop_put()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/
Ddhcpv4.c370 NET_DBG("Message creation failed"); in dhcpv4_create_message()
379 NET_DBG("force timeout dhcpv4=%p", dhcpv4); in dhcpv4_immediate_timeout()
389 NET_DBG("sched timeout dhcpv4=%p timeout=%us", dhcpv4, timeout); in dhcpv4_set_timeout()
408 NET_DBG("sched timeout dhcpv4=%p timeout=%us", dhcpv4, timeout); in dhcpv4_set_timeout_inc()
604 NET_DBG("send request dst=%s xid=0x%x ciaddr=%s%s%s timeout=%us", in dhcpv4_send_request()
646 NET_DBG("send discover xid=0x%x timeout=%us", in dhcpv4_send_discover()
701 NET_DBG("enter state=%s", in dhcpv4_enter_selecting()
709 NET_DBG("enter state=%s", in dhcpv4_enter_requesting()
748 NET_DBG("enter state=%s renewal=%us rebinding=%us", in dhcpv4_enter_bound()
763 NET_DBG("enter state=%s", in dhcpv4_enter_renewing()
[all …]
/Zephyr-Core-3.7.0/tests/net/ipv6_fragment/src/
Dmain.c1020 NET_DBG("test_type %d, frag count %d", test_type, frag_count); in verify_fragment()
1049 NET_DBG("Invalid length, 1st byte"); in verify_fragment()
1055 NET_DBG("Invalid length, 2nd byte"); in verify_fragment()
1063 NET_DBG("Invalid offset %d", offset); in verify_fragment()
1068 NET_DBG("Invalid MORE flag for first fragment"); in verify_fragment()
1083 NET_DBG(""); in verify_fragment()
1101 NET_DBG("Invalid length, 1st byte"); in verify_fragment()
1107 NET_DBG("Invalid length, 2nd byte"); in verify_fragment()
1115 NET_DBG("Invalid offset %d received %d", in verify_fragment()
1122 NET_DBG("Invalid MORE flag for second fragment"); in verify_fragment()
[all …]
/Zephyr-Core-3.7.0/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.c106 NET_DBG("Cannot add IPv4 multicast address to iface %d", in mdns_iface_event_handler()
130 NET_DBG("Cannot set %s multicast %s (%d)", "IPv4", "TTL", ret); in setup_dst_addr()
138 NET_DBG("Cannot set %s multicast %s (%d)", "IPv6", "hoplimit", ret); in setup_dst_addr()
154 NET_DBG("Cannot get socket (%d)", ret); in get_socket()
274 NET_DBG("unable to set up the response address"); in send_response()
326 NET_DBG("Cannot send %s reply (%d)", "mDNS", ret); in send_response()
381 NET_DBG("unable to set up the response address"); in send_sd_response()
420 NET_DBG("unable to extract query (%d)", ret); in send_sd_response()
456 NET_DBG("matched query: %s.%s.%s.%s port: %u", in send_sd_response()
466 NET_DBG("dns_sd_handle_service_type_enum() failed (%d)", in send_sd_response()
[all …]
Ddns_cache.c45 NET_DBG("Add \"%s\" with TTL %" PRIu32, query, ttl); in dns_cache_add()
61 NET_DBG("Overwrite \"%s\"", cache->entries[index_to_replace].query); in dns_cache_add()
77 NET_DBG("Remove all entries with query \"%s\"", query); in dns_cache_remove()
105 NET_DBG("Find \"%s\"", query); in dns_cache_find()
133 NET_DBG("Found \"%s\"", query); in dns_cache_find()
144 NET_DBG("Could not find \"%s\"", query); in dns_cache_find()
158 NET_DBG("Remove \"%s\"", cache->entries[i].query); in dns_cache_clean()
/Zephyr-Core-3.7.0/tests/net/socket/tls_ext/src/
Dmain.c160 NET_DBG("Server thread running"); in server_thread_fn()
165 NET_DBG("Accepting client connection.."); in server_thread_fn()
176 NET_DBG("accepted connection from [%s]:%d as fd %d", in server_thread_fn()
179 NET_DBG("calling recv()"); in server_thread_fn()
184 NET_DBG("calling send()"); in server_thread_fn()
189 NET_DBG("closing client fd"); in server_thread_fn()
217 NET_DBG("Creating server socket"); in test_common()
290 NET_DBG("listening on [%s]:%d as fd %d", in test_common()
293 NET_DBG("Creating server thread"); in test_common()
308 NET_DBG("Creating client socket"); in test_common()
[all …]
/Zephyr-Core-3.7.0/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()
75 NET_DBG("Cannot write to socket (%d)", ret); in handle_http1_to_websocket_upgrade()
87 NET_DBG("Cannot write to socket (%d)", ret); in handle_http1_to_websocket_upgrade()
104 NET_DBG("Cannot register websocket (%d)", ret); in handle_http1_to_websocket_upgrade()
112 NET_DBG("WS connection failed (%d)", ret); in handle_http1_to_websocket_upgrade()
/Zephyr-Core-3.7.0/subsys/net/l2/ppp/
Dfsm.c83 NET_DBG("[%s/%p] Sending %s (%d) id %d to peer while in %s (%d)", in fsm_send_configure_req()
101 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_timeout()
109 NET_DBG("[%s/%p] %s retransmit limit %d reached", in ppp_fsm_timeout()
158 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_timeout()
220 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_close()
252 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_close()
260 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_lower_down()
296 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_lower_down()
304 NET_DBG("[%s/%p] Current state %s (%d)", fsm->name, fsm, in ppp_fsm_lower_up()
322 NET_DBG("[%s/%p] %s state %s (%d)", fsm->name, fsm, "Invalid", in ppp_fsm_lower_up()
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/subsys/net/lib/mqtt/
Dmqtt_decoder.c35 NET_DBG(">> cur:%p, end:%p", (void *)cur, (void *)end); in unpack_uint8()
44 NET_DBG("<< val:%02x", *val); in unpack_uint8()
65 NET_DBG(">> cur:%p, end:%p", (void *)cur, (void *)end); in unpack_uint16()
74 NET_DBG("<< val:%04x", *val); in unpack_uint16()
95 NET_DBG(">> cur:%p, end:%p", (void *)buf->cur, (void *)buf->end); in unpack_utf8_str()
116 NET_DBG("<< str_size:%08x", (uint32_t)GET_UT8STR_BUFFER_SIZE(str)); in unpack_utf8_str()
136 NET_DBG(">> cur:%p, end:%p", (void *)buf->cur, (void *)buf->end); in unpack_data()
152 NET_DBG("<< bin len:%08x", GET_BINSTR_BUFFER_SIZE(str)); in unpack_data()
193 NET_DBG("length:0x%08x", *length); in packet_length_decode()
231 NET_DBG("[CID %p]: session_present_flag: %d", client, in connect_ack_decode()
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()
57 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBLISH", client); in mqtt_handle_packet()
67 NET_DBG("PUB QoS:%02x, message len %08x, topic len %08x", in mqtt_handle_packet()
75 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBACK!", client); in mqtt_handle_packet()
83 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBREC!", client); in mqtt_handle_packet()
91 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBREL!", client); in mqtt_handle_packet()
99 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_PUBCOMP!", client); in mqtt_handle_packet()
107 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_SUBACK!", client); in mqtt_handle_packet()
115 NET_DBG("[CID %p]: Received MQTT_PKT_TYPE_UNSUBACK!", client); in mqtt_handle_packet()
[all …]
/Zephyr-Core-3.7.0/subsys/net/conn_mgr/
Devents_handler.c27 NET_DBG("%s event 0x%x received on iface %d (%p)", "Iface", mgmt_event, in conn_mgr_iface_events_handler()
36 NET_DBG("Iface index %u", idx); in conn_mgr_iface_events_handler()
63 NET_DBG("%s event 0x%x 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()
120 NET_DBG("%s event 0x%x received on iface %d (%p)", "IPv4", mgmt_event, in conn_mgr_ipv4_events_handler()
129 NET_DBG("Iface index %u", idx); in conn_mgr_ipv4_events_handler()
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/
Dvirtual.c44 NET_DBG("Interface %d is down.", in virtual_recv()
59 NET_DBG("Received pkt %p len %zu", pkt, pkt_len); in virtual_recv()
72 NET_DBG("No handler, dropping pkt %p len %zu", pkt, net_pkt_get_len(pkt)); in virtual_recv()
88 NET_DBG("Interface %d is down.", in virtual_send()
102 NET_DBG("Sent pkt %p len %zu", pkt, pkt_len); in virtual_send()
140 NET_DBG("Taking iface %d up", net_if_get_by_iface(ctx->iface)); in virtual_enable()
213 NET_DBG("Detaching %d from %d", in net_virtual_interface_attach()
230 NET_DBG("Attaching %d to %d", in net_virtual_interface_attach()
274 NET_DBG("Iface %d down, setting virtual iface %d carrier off", in net_virtual_disable()
292 NET_DBG("Iface %d up, setting virtual iface %d carrier on", in net_virtual_enable()
[all …]
/Zephyr-Core-3.7.0/subsys/net/l2/openthread/
Dopenthread.c210 NET_DBG("Ipv6 address removed"); in ot_state_changed_handler()
215 NET_DBG("Ipv6 address added"); in ot_state_changed_handler()
220 NET_DBG("Ipv6 multicast address removed"); in ot_state_changed_handler()
225 NET_DBG("Ipv6 multicast address added"); in ot_state_changed_handler()
232 NET_DBG("Nat64 translator state changed to %x", in ot_state_changed_handler()
287 NET_DBG("Injecting %s packet to Zephyr net stack", in ot_receive_handler()
372 NET_DBG("Got injected Ip6 packet, sending to upper layers"); in openthread_recv()
385 NET_DBG("Got 802.15.4 packet, sending to OT"); in openthread_recv()
426 NET_DBG("OpenThread co-processor."); in openthread_start()
449 NET_DBG("OpenThread already commissioned."); in openthread_start()
[all …]
/Zephyr-Core-3.7.0/subsys/net/pkt_filter/
Dbase.c89 NET_DBG("test %p result %d", test, result); in apply_tests()
105 NET_DBG("rule_head %p on pkt %p", rule_head, pkt); in evaluate()
108 NET_DBG("no rules"); in evaluate()
118 NET_DBG("no matching rules from rule_head %p", rule_head); in evaluate()
160 NET_DBG("no rules"); in net_pkt_filter_ip_recv_ok()
178 NET_DBG("inserting rule %p into %p", rule, rules); in npf_insert_rule()
191 NET_DBG("appending rule %p into %p", rule, rules); in npf_append_rule()
203 NET_DBG("removing rule %p from %p: %d", rule, rules, result); in npf_remove_rule()
214 NET_DBG("removing all rules from %p", rules); in npf_remove_all_rules()

12345