Home
last modified time | relevance | path

Searched refs:PR (Results 1 – 25 of 60) sorted by relevance

123

/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c34 PR("Port Interface \tRole\n"); in gptp_port_cb()
39 PR("%2d %p [%d] \t%s\n", port, iface, net_if_get_by_iface(iface), in gptp_port_cb()
300 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info()
302 PR("Interface : %p [%d]\n", iface, net_if_get_by_iface(iface)); in gptp_print_port_info()
303 PR("Clock id : "); in gptp_print_port_info()
305 PR("%02x", port_ds->port_id.clk_id[i]); in gptp_print_port_info()
308 PR(":"); in gptp_print_port_info()
311 PR("\n"); in gptp_print_port_info()
313 PR("Version : %d\n", port_ds->version); in gptp_print_port_info()
314 PR("AS capable : %s\n", port_ds->as_capable ? "yes" : "no"); in gptp_print_port_info()
[all …]
Dipv6.c26 PR("\nIPv6 reassembly Id Remain " in ipv6_frag_cb()
32 PR("%p 0x%08x %5d %16s\t%16s\n", reass, reass->id, in ipv6_frag_cb()
40 PR("[%d] pkt %p->", i, reass->pkt[i]); in ipv6_frag_cb()
43 PR("%p", frag); in ipv6_frag_cb()
47 PR("->"); in ipv6_frag_cb()
51 PR("\n"); in ipv6_frag_cb()
71 PR("IPv6 privacy extension %s list filters :\n", in ipv6_pe_filter_cb()
75 PR("[%d] %s/64\n", *count, ipaddr); in ipv6_pe_filter_cb()
91 PR("\nIPv6 addresses for interface %d (%p) (%s)\n", in address_lifetime_cb()
93 PR("============================================%s\n", extra); in address_lifetime_cb()
[all …]
Diface.c72 PR("\t%s\n", eth_hw_caps[i].description); in print_supported_ethernet_capabilities()
90 PR("Ethernet link speed: %s ", PHY_LINK_IS_SPEED_1000M(link.speed) ? "1 Gbits" in print_phy_link_state()
94 PR("%s-duplex\n", PHY_LINK_IS_FULL_DUPLEX(link.speed) ? "full" : "half"); in print_phy_link_state()
196 PR("\nInterface %s (%p) (%s) [%d]\n", ifname, iface, iface2str(iface, &extra), in iface_cb()
199 PR("\nInterface %p (%s) [%d]\n", iface, iface2str(iface, &extra), in iface_cb()
202 PR("===========================%s\n", extra); in iface_cb()
225 PR("Virtual interfaces attached to this : "); in iface_cb()
233 PR("%d ", net_if_get_by_iface(ctx->virtual_iface)); in iface_cb()
236 PR("\n"); in iface_cb()
248 PR("Virtual name : %s\n", name); in iface_cb()
[all …]
Dmem.c65 PR("%p\t%u\t%u\tETX\n", in context_info()
68 PR("%p\t%d\tETX\n", slab, slab->info.num_blocks); in context_info()
82 PR("%p\t%d\t%ld\tEDATA (%s)\n", pool, pool->buf_count, in context_info()
85 PR("%p\t%d\tEDATA\n", pool, pool->buf_count); in context_info()
108 PR("Fragment length %d bytes\n", CONFIG_NET_BUF_DATA_SIZE); in cmd_net_mem()
110 PR("Fragment RX data pool size %d bytes\n", CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE); in cmd_net_mem()
111 PR("Fragment TX data pool size %d bytes\n", CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE); in cmd_net_mem()
114 PR("Network buffer pools:\n"); in cmd_net_mem()
117 PR("Address\t\tTotal\tAvail\tName\n"); in cmd_net_mem()
119 PR("%p\t%d\t%u\tRX\n", in cmd_net_mem()
[all …]
Dppp.c78 PR("PPP phase : %s (%d)\n", ppp_phase_str(ctx->phase), in cmd_net_ppp_status()
80 PR("LCP state : %s (%d)\n", in cmd_net_ppp_status()
82 PR("LCP retransmits : %u\n", ctx->lcp.fsm.retransmits); in cmd_net_ppp_status()
83 PR("LCP NACK loops : %u\n", ctx->lcp.fsm.nack_loops); in cmd_net_ppp_status()
84 PR("LCP NACKs recv : %u\n", ctx->lcp.fsm.recv_nack_loops); in cmd_net_ppp_status()
85 PR("LCP current id : %d\n", ctx->lcp.fsm.id); in cmd_net_ppp_status()
86 PR("LCP ACK received : %s\n", ctx->lcp.fsm.ack_received ? in cmd_net_ppp_status()
90 PR("IPCP state : %s (%d)\n", in cmd_net_ppp_status()
92 PR("IPCP retransmits : %u\n", ctx->ipcp.fsm.retransmits); in cmd_net_ppp_status()
93 PR("IPCP NACK loops : %u\n", ctx->ipcp.fsm.nack_loops); in cmd_net_ppp_status()
[all …]
Dstats.c50 PR("Statistics for Ethernet interface %p [%d]\n", iface, in print_eth_stats()
53 PR("Bytes received : %u\n", data->bytes.received); in print_eth_stats()
54 PR("Bytes sent : %u\n", data->bytes.sent); in print_eth_stats()
55 PR("Packets received : %u\n", data->pkts.rx); in print_eth_stats()
56 PR("Packets sent : %u\n", data->pkts.tx); in print_eth_stats()
57 PR("Bcast received : %u\n", data->broadcast.rx); in print_eth_stats()
58 PR("Bcast sent : %u\n", data->broadcast.tx); in print_eth_stats()
59 PR("Mcast received : %u\n", data->multicast.rx); in print_eth_stats()
60 PR("Mcast sent : %u\n", data->multicast.tx); in print_eth_stats()
62 PR("Send errors : %u\n", data->errors.tx); in print_eth_stats()
[all …]
Dhttp.c23 PR("%-15s\t%-12s\n", in cmd_net_http()
25 PR("\tResource type\tMethods\t\tEndpoint\n"); in cmd_net_http()
28 PR("\n"); in cmd_net_http()
29 PR("%s:%d\t%zu/%zu\n", in cmd_net_http()
55 PR("\t%12s\t", detail_type); in cmd_net_http()
61 PR("%s%s", print_comma ? "," : "", http_method_str(i)); in cmd_net_http()
69 PR("\t"); in cmd_net_http()
72 PR("\t%s\n", res->resource); in cmd_net_http()
80 PR("No HTTP services and resources found.\n"); in cmd_net_http()
82 PR("\n%d service%sand %d resource%sfound.\n", in cmd_net_http()
Dvirtual.c33 PR("Interface Attached-To Description\n"); in virtual_iface_cb()
41 PR("%d %c %s\n", in virtual_iface_cb()
63 PR("Interface Below-of Description\n"); in attached_iface_cb()
67 PR("%d ", net_if_get_by_iface(iface)); in attached_iface_cb()
75 PR("%d ", net_if_get_by_iface(ctx->virtual_iface)); in attached_iface_cb()
83 PR(" %s\n", name); in attached_iface_cb()
104 PR("No virtual interfaces found."); in cmd_virtual_show()
108 PR("\n"); in cmd_virtual_show()
126 PR("No %s interface %s found.\n", "virtual", argv[1]); in cmd_virtual_attach()
132 PR("No %s interface %s found.\n", "such", argv[2]); in cmd_virtual_attach()
[all …]
Dconn.c38 PR("[%2d] %p\t%d %c%c%c %16s\t%16s\n", in context_cb()
98 PR("[%2d] %p %p\t%s\t%16s\t%16s\n", in conn_handler_cb()
124 PR("%p %p %5u %5u %10u %10u %5u %s\n", in tcp_cb()
145 PR("\nTCP Ref Recv_win Send_win Pending " in tcp_sent_list_cb()
150 PR("%p %ld %u\t %u\t %zd\t %d\t %d/%d/%d %s\n", in tcp_sent_list_cb()
164 PR("\nTCP packets waiting ACK:\n"); in tcp_sent_list_cb()
165 PR("TCP net_pkt[ref/totlen]->net_buf[ref/len]..." in tcp_sent_list_cb()
169 PR("%p ", conn); in tcp_sent_list_cb()
178 PR("%p[%ld/%zd]", pkt, in tcp_sent_list_cb()
183 PR(" %p[%ld/%zd]", in tcp_sent_list_cb()
[all …]
Dsockets.c68 PR("%25s %-12s %c%c%c\t%-5s%-13d %-10" PRId64 "%-10" PRId64 "\n", in walk_sockets()
126 PR("%32s %-5d %s\n", owner, svc->pev_len, pev_output); in walk_socket_services()
142 PR("%25s %-12s %-5s\t%-5s%-14s %-10s%-10s\n", in cmd_net_sockets()
145 PR("\n"); in cmd_net_sockets()
153 PR("No sockets found.\n"); in cmd_net_sockets()
156 PR("\n%d active socket%s found.\n", count.opened, in cmd_net_sockets()
162 PR("\n"); in cmd_net_sockets()
165 PR("%d closed socket%s found.\n", count.closed, in cmd_net_sockets()
171 PR("\n"); in cmd_net_sockets()
182 PR("Services:\n"); in cmd_net_sockets()
[all …]
Droute.c29 PR("IPv6 prefix : %s/%d\n", net_sprint_ipv6_addr(&entry->addr), in route_cb()
43 PR("\tneighbor : %p\t", nexthop_route->nbr); in route_cb()
46 PR("addr : <unknown>\t"); in route_cb()
50 PR("addr : %s\t", net_sprint_ll_addr(lladdr->addr, in route_cb()
63 PR("lifetime : %s\n", remaining_str); in route_cb()
69 PR("\t<none>\n"); in route_cb()
79 PR("\nIPv6 routes for interface %d (%p) (%s)\n", in iface_per_route_cb()
82 PR("=========================================%s\n", extra); in iface_per_route_cb()
97 PR("IPv6 multicast route (%p)\n", entry); in route_mcast_cb()
98 PR("=================================\n"); in route_mcast_cb()
[all …]
Ddns.c46 PR("dns: %s\n", addr); in dns_result_cb()
51 PR("dns: All results received\n"); in dns_result_cb()
79 PR("DNS servers:\n"); in print_dns_info()
96 PR("\t%s:%u%s%s\n", in print_dns_info()
105 PR("\t[%s]:%u%s%s\n", in print_dns_info()
115 PR("Pending queries:\n"); in print_dns_info()
128 PR("\tIPv4[%u]: %s remaining %d\n", in print_dns_info()
133 PR("\tIPv6[%u]: %s remaining %d\n", in print_dns_info()
170 PR("Cancelled %d pending requests.\n", ret); in cmd_net_dns_cancel()
172 PR("No pending DNS requests.\n"); in cmd_net_dns_cancel()
[all …]
Dallocs.c43 PR("%p/%ld\t%5s\t%5s\t%s():%d\n", in allocs_cb()
48 PR("%p\t%5s\t%5s\t%s():%d -> %s():%d\n", in allocs_cb()
61 PR("%p/%d\t%5s\t%5s\t%s():%d\n", in allocs_cb()
66 PR("%p\t%5s\t%5s\t%s():%d -> %s():%d\n", in allocs_cb()
87 PR("Network memory allocations\n\n"); in cmd_net_allocs()
88 PR("memory\t\tStatus\tPool\tFunction alloc -> freed\n"); in cmd_net_allocs()
Dipv4.c26 PR("\nIPv4 addresses for interface %d (%p) (%s)\n", in ip_address_lifetime_cb()
28 PR("============================================%s\n", extra); in ip_address_lifetime_cb()
31 PR("No IPv4 config found for this interface.\n"); in ip_address_lifetime_cb()
35 PR("Type \tState \tRef\tAddress\n"); in ip_address_lifetime_cb()
43 PR("%s \t%s \t%ld\t%s/%s\n", in ip_address_lifetime_cb()
57 PR("IPv4 support : %s\n", in cmd_net_ipv4()
65 PR("IPv4 fragmentation support : %s\n", in cmd_net_ipv4()
68 PR("IPv4 conflict detection support : %s\n", in cmd_net_ipv4()
71 PR("Path MTU Discovery (PMTU) : %s\n", in cmd_net_ipv4()
78 PR("Max number of IPv4 network interfaces " in cmd_net_ipv4()
[all …]
Dpkt.c108 PR("net_pkt %p buffer chain:\n", pkt); in net_pkt_buffer_info()
109 PR("%p[%ld]", pkt, atomic_get(&pkt->atomic_ref)); in net_pkt_buffer_info()
112 PR("->"); in net_pkt_buffer_info()
116 PR("%p[%ld/%u (%u/%u)]", buf, atomic_get(&pkt->atomic_ref), in net_pkt_buffer_info()
121 PR("->"); in net_pkt_buffer_info()
125 PR("\n"); in net_pkt_buffer_info()
138 PR("net_pkt %p buffer chain hexdump:\n", pkt); in net_pkt_buffer_hexdump()
141 PR("net_buf[%d] %p\n", i++, buf); in net_pkt_buffer_hexdump()
167 PR("\n"); in cmd_net_pkt()
Dvlan.c42 PR("VLAN tag %d removed from interface %d (%p)\n", vlan_tag, in iface_vlan_del_cb()
62 PR(" Interface Name \tTag\tAttached\n"); in iface_vlan_cb()
67 PR("[%d] %p %-12s\t%d\t%d\n", net_if_get_by_iface(iface), iface, in iface_vlan_cb()
151 PR("VLAN tag %d set to interface %d (%p)\n", tag, in cmd_net_vlan_add()
157 PR("Usage:\n"); in cmd_net_vlan_add()
158 PR("\tvlan add <tag> <interface index>\n"); in cmd_net_vlan_add()
194 PR("Usage:\n"); in cmd_net_vlan_del()
195 PR("\tvlan del <tag>\n"); in cmd_net_vlan_del()
Darp.c25 PR(" Interface Link Address\n"); in arp_cb()
28 PR("[%2d] %d %s %s\n", *count, in arp_cb()
64 PR("ARP cache is empty.\n"); in cmd_net_arp()
80 PR("Flushing ARP cache.\n"); in cmd_net_arp_flush()
Dpmtu.c45 PR(" %" STRINGIFY(ADDR_STR_LEN) "s MTU Age (sec)\n", in pmtu_cb()
49 PR("[%2d] %" STRINGIFY(ADDR_STR_LEN) "s %5d %d\n", *count + 1, in pmtu_cb()
78 PR("PMTU destination cache is empty.\n"); in cmd_net_pmtu()
94 PR("Flushing PMTU destination cache.\n"); in cmd_net_pmtu_flush()
Dcm.c83 PR("Valid flag keywords are:\n"); in cm_print_flags()
85 PR("\t%s,\n", flag_strings[i].name); in cm_print_flags()
106 PR("Valid target specifiers are 'ifi [index]', 'if [name]', or '[index]'.\n"); in cm_target_help()
397 PR("iface %s not tracked.\n", iface_info); in cm_iface_status()
417 PR("iface %s status: %s, %s, %s, %s, %s, %s.\n", iface_info, in cm_iface_status()
435 PR("iface %s now ignored.\n", iface_info); in cm_iface_ignore()
446 PR("iface %s now watched.\n", iface_info); in cm_iface_watch()
521 PR("Ignoring all ifaces.\n"); in cmd_net_cm_ignore()
563 PR("Watching all ifaces.\n"); in cmd_net_cm_watch()
606 PR("Instructing all non-ignored ifaces to connect.\n"); in cmd_net_cm_connect()
[all …]
Dwebsocket.c40 PR(" websocket/net_ctx \tIface\t" in websocket_context_cb()
47 PR("[%2d] %p/%p\t%d\t%-16s\t%-16s\n", in websocket_context_cb()
71 PR("No connections\n"); in cmd_net_websocket()
Dresume.c42 PR("Usage:\n"); in cmd_net_resume()
43 PR("\tresume <iface index>\n"); in cmd_net_resume()
Dsuspend.c47 PR("Usage:\n"); in cmd_net_suspend()
48 PR("\tsuspend <iface index>\n"); in cmd_net_suspend()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c194 PR("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result()
201 PR("%-4d | %-32s %-5u | %-4u (%-6s) | %-4d | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result()
263 PR("\n%-4s | %-13s | %-4s | %-15s | %-15s | %-32s\n", in handle_wifi_raw_scan_result()
271 PR("%-4d | %-4u (%-6s) | %-4d | %s | %-4d ", in handle_wifi_raw_scan_result()
280 PR("%02X ", *(raw->data + i)); in handle_wifi_raw_scan_result()
283 PR("\n"); in handle_wifi_raw_scan_result()
296 PR("Scan request done\n"); in handle_wifi_scan_done()
311 PR("Connected\n"); in handle_wifi_connect_result()
327 PR("Disconnection request done (%d)\n", status->status); in handle_wifi_disconnect_result()
331 PR("Disconnected\n"); in handle_wifi_disconnect_result()
[all …]
/Zephyr-latest/doc/contribute/
Dcontributor_expectations.rst12 to allocate large blocks of time to review a large PR.
20 - Easier to revert if the PR breaks functionality.
34 - When adding a new large feature or API, the PR should address only one part of
49 - If introducing a new API, the PR must include an example usage of the API.
54 Multiple Commits on a Single PR
58 in mind each commit in the PR must still build cleanly and pass all the CI
62 the PR into multiple commits targeting these specific changes:
90 PR Requirements
93 - Each commit in the PR must provide a commit message following the
96 - The PR description must include a summary of the changes and their rationales.
[all …]
/Zephyr-latest/doc/security/
Dvulnerabilities.rst300 This has been fixed in a PR against Zephyr main.
330 This has been fixed in a PR against Zephyr main.
768 - `PR 31971 fix for main
781 - `PR 33272 fix for main
784 - `PR 33369 fix for 2.5
787 - `PR 33759 fix for 1.14.2
800 - `PR 33340 fix for main
803 - `PR 33369 fix for 2.5
816 - `PR 33278 fix for main
819 - `PR 33369 fix for 2.5
[all …]

123