Lines Matching refs:PRINTK
709 PRINTK("(%.1f %s) \r\n", (float)size + (float)rem / 1024.0, SIZES[divis]);
714 PRINTK("Usage:"\
753 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
795 PRINTK("%18s:%u\t errors:%u\t ip dropped:%u\t link dropped:%u\t overrun:%d\t bytes:%u ",
816 PRINTK("%18s:%u\t errors:%u\t dropped:%u\t overrun:%d\t bytes:%u ",
833 PRINTK("%18s:%u\t errors:%u\t link dropped:%u\t overrun:0\t bytes:%u",
847 PRINTK("%18s:%u\t errors:%u\t overrun:0\t bytes:%u",
862 PRINTK("%s: sys_sem_new fail\n", __FUNCTION__);
872 PRINTK("ifconfig : strncpy_s error\n");
878 PRINTK("ifconfig : interface name is too big\n");
888 PRINTK("ifconfig : internal error, l:%d err:%d\n", __LINE__, ret);
894 PRINTK("%s", ifconfig_cmd.cb_print_buf);
902 PRINTK("ifconfig : internal error, l:%d err:%d\n", __LINE__, ret);
908 PRINTK("%s", ifconfig_cmd.cb_print_buf);
920 PRINTK("ifconfig : internal error, l:%d err:%d\n", __LINE__, ret);
926 PRINTK("%s", ifconfig_cmd.cb_print_buf);
934 PRINTK("ifconfig : internal error, l:%d err:%d\n", __LINE__, ret);
940 PRINTK("%s", ifconfig_cmd.cb_print_buf);
948 PRINTK("ifconfig : Interface %s not found\n", ifconfig_cmd.iface);
964 PRINTK("ifconfig : Invalid IPv4 Address\n");
992 PRINTK("ifconfig : Invalid IPv6 Address\n");
1033 PRINTK("ifconfig : wrong MAC address format\n");
1039 PRINTK("ifconfig : wrong MAC address\n");
1046 PRINTK("ifconfig : wrong MAC address format\n");
1058 PRINTK("\nifconfig: Invalid argument for mtu\n");
1077 PRINTK("ifconfig: internal error\n");
1089 PRINTK("ifconfig: internal error\n");
1113 PRINTK("%s : tcpip_callback failed in line %d : errnu %d", __FUNCTION__, __LINE__, ret);
1118 PRINTK("%s", ifconfig_cmd.cb_print_buf);
1137 … PRINTK("%s : tcpip_callback failed in line %d : errnu %d", __FUNCTION__, __LINE__, ret);
1143 PRINTK("%s", ifconfig_cmd.cb_print_buf);
1171 PRINTK("%s", ifconfig_cmd.cb_print_buf);
1386 PRINTK("Usage:"
1402 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
1412 PRINTK("%s: sys_sem_new fail\n", __FUNCTION__);
1423 PRINTK("Illegal operation\n");
1427 PRINTK("strncpy_s error\n");
1432 PRINTK("Iface name is big \n");
1443 PRINTK("IP address is not correct!\n");
1463 PRINTK("IP address is not correct!\n");
1469 PRINTK("IP address is not correct!\n");
1474 PRINTK("Wrong MAC address length\n");
1479 PRINTK("Wrong MAC address\n");
1486 PRINTK("MAC address is not correct\n");
1492 PRINTK("MAC address is not correct\n");
1509 PRINTK("%s : tcpip_callback failed in line %d : errnu %d", __FUNCTION__, __LINE__, ret);
1516 PRINTK("%s", arp_cmd.cb_print_buf);
1611 PRINTK("Usage:"\
1616 PRINTK("\n -t means ping forever, user can use -k to stop the forever ping\n");
1651 PRINTK("Ping: pbuf_resp malloc failed\n");
1657 PRINTK("Ping: echo request malloc failed\n");
1723 PRINTK("Ping : memory management failure\n");
1730 PRINTK("ping : memory management failure\n");
1750 PRINTK("\nPing: destination unreachable ...");
1760 … PRINTK("\n[%u]Reply from %s: ", i, inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf)));
1762 PRINTK("time=%ims ", rtt);
1764 PRINTK("time<1ms ");
1766 PRINTK("TTL=%u", iphdr_resp->_ttl);
1783 PRINTK("\nPing: destination host unreachable ...");
1786 PRINTK("\nPing: source quench ...");
1789 PRINTK("\nPing: redirect ...");
1792 PRINTK("\nPing: time exceeded ...");
1795 PRINTK("\nPing: parameter problem ...");
1798 PRINTK("\nPing: unknown error ...");
1805 PRINTK("\n--- %s ping statistics ---\n", inet_ntop(AF_INET, &to.sin_addr, buf, sizeof(buf)));
1806 PRINTK("%u packets transmitted, %u received, %u loss\n", i, succ_cnt, failed_cnt);
1830 PRINTK("Ping cmd failed due to some errors\n");
1848 PRINTK("Ping: tcpip_init have not been called\n");
1853 PRINTK("Ping: require dest ipaddr at least\n");
1862 PRINTK("Ping count should be greater than 0 \n");
1877 PRINTK("Ping interval should be greater than 0 \n");
1887 PRINTK("Ping data length error, should be in range of [0, %d] \n",
1899 PRINTK("No ping task running...\n");
1906 PRINTK("Invalid Ping param\n");
1927 PRINTK("Invalid dest ipaddr: NONE or ANY\n");
1934 PRINTK("Ping task already running and only support one now\n");
1948 PRINTK("ping_task create failed 0x%08x.\n", ret);
1960 PRINTK("Ping cmd failed due some errors\n");
1994 PRINTK("ping: tcpip_init have not been called\n");
1999 PRINTK("ping : invalid arguments, ping command receives ip as command line argument \n");
2010 PRINTK("ping %u packets start.\n", pingcount);
2024 PRINTK("ping : invalid ip address : NONE or ANY\n");
2030 PRINTK("ping : failed, socket creation failed\n");
2036 PRINTK("ping : memory allocation failed\n");
2047 PRINTK("ping : sending ICMP echo msg failed\n");
2062 PRINTK("ping : select failure\n");
2065 PRINTK("Request timed out.\n");
2075 PRINTK("ping : receiving ICMP echo response msg failed\n");
2084 PRINTK("ping : memory management failure\n");
2092 PRINTK("ping : memory management failure\n");
2098 PRINTK("[%u]Reply from %s: time=%ims TTL=%u\n", i,
2156 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
2191 PRINTK("ping6 : Memory Allocation Failed\n");
2204 PRINTK("PING %s (%s) with %d bytes of data.\n",
2207 PRINTK("PING %s with %d bytes of data.\n", buf, LWIP_PING6_STANDARD_PKT_SIZE);
2210 …PRINTK("PING %s with %d bytes of data\n", inet_ntop(AF_INET6, &to.sin6_addr, buf, sizeof(buf)), LW…
2248 PRINTK("ping6 : Sending ICMP Echo message failed\n");
2263 PRINTK("ping6 : select failure\n");
2267 PRINTK("Request timed out\n");
2276 PRINTK("ping6 : receiving ICMP echo response msg failed\n");
2282 PRINTK("ping6 : received ICMP echo response too short\n");
2294 PRINTK("ping6 : received ICMP echo response too short\n");
2317 PRINTK("%d bytes from %s : icmp_seq=%d time", ret,
2321 PRINTK("<1 ms\n");
2323 PRINTK("=%i ms\n", rtt);
2335 … PRINTK("[%u]ping6 : %s\n", nsent, convert_icmpv6_err_to_string(iecho_resp->type));
2355 PRINTK("--- %s ping statistics ---\n", argv[ping6_params.host_index]);
2356 PRINTK("%d packets transmitted, %d received, %.2f%% packet loss, time %dms\n",
2362 …PRINTK("rtt min/avg/max = %u/%.2f/%u ms\n", ping6_stats.min_rtt, ping6_stats.avg_rtt, ping6_stats.…
2380 PRINTK("Usage:\n");
2381 PRINTK("\tping6 [-c count] [-I interface/sourceAddress] destination\n");
2394 PRINTK("ping6 : Failed, socket creation failed\n");
2410 PRINTK("ping6 : bind icmp socket: cannot assign requested address\n");
2418 PRINTK("ping6: unknownn iface %s\n", (char *)(param));
2434 PRINTK("ping6 : setsockopt: Invalid Argument\n");
2468 PRINTK("ping6: -c option present multiple times \n");
2474 PRINTK("ping6: ping count(-c) should require an argument \n");
2481 PRINTK("ping6: bad number of packets to transmit \n");
2494 PRINTK("ping6: -I option present multiple times \n");
2500 PRINTK("ping6: interface/source address(-I) should require an argument \n");
2521 PRINTK("ping6: bad option %s\n", argv[i]);
2526 PRINTK("ping6: bad parameter %s\n", argv[i]);
2537 PRINTK("ping6 : Host : %s can't be resolved to IPv6 address\n", argv[i]);
2547 PRINTK("ping6 : Invalid IPv6 Address : %s\n", argv[i]);
2554 PRINTK("ping6 : IPv6 address of host : %s (%s) is invalid\n", argv[i],
2557 PRINTK("ping6 : Invalid IPv6 address : %s\n", argv[i]);
2570 PRINTK("ping6 : Hostname/IPv6 address to ping is not specified\n");
2578 PRINTK("ping6 : Interface specification is mandatory for link-local addresses\n");
2645 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
2657 PRINTK("time server %s: %s\n", argv[server_num], ret);
2659 PRINTK("ctime return null error\n");
2662 PRINTK("no server suitable for synchronization found\n");
2668 PRINTK("\nUsage:\n");
2669 PRINTK("ntpdate [SERVER_IP1] [SERVER_IP2] ...\n");
2690 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
2698 PRINTK("dns %d: %s\n", i + 1, ipaddr_ntoa_unsafe(&dns));
2700 PRINTK("dns: failed\n");
2715 PRINTK("ip address<%s> is wrong\n", argv[1]);
2724 PRINTK("ip address<%s> is wrong\n", argv[1]);
2735 PRINTK("dns : failed\n");
2741 PRINTK("usage:\n");
2742 PRINTK("\tdns <1-%d> <IP>\n", DNS_MAX_SERVERS);
2743 PRINTK("\tdns -a\n");
3381 PRINTK("\nUsage: netstat\n");
3386 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
3392 PRINTK("%s: no free mem\n", __FUNCTION__);
3411 PRINTK("%s\n", (char *)(ndata.netstat_out_buf));
3429 PRINTK("<netif name>, start dhcp for netif name\n"
3448 PRINTK("dhclient: invalid option: %s\n", argv[0]);
3458 PRINTK("dhclient: invalid option: %s\n", argv[1]);
3462 PRINTK("dhclient: invalid option: %s\n", argv[0]);
3485 PRINTK("waiting for recv\n");
3489 PRINTK("recv failed, %d.\n", (u32_t)ret);
3494 PRINTK("client disconnect.\n");
3508 PRINTK("send failed!\r\n");
3525 PRINTK("tcpip_init have not been called\n");
3530 PRINTK("\nUsage: tcpserver <port>\n");
3537 PRINTK("\nUsage: Invalid port\n");
3545 PRINTK("argv[0]:%s, argc:%d\r\n", argv[0], argc);
3548 PRINTK("\nUsage: create socket fail!\n");
3554 PRINTK("set SO_REUSEADDR failed\n");
3565 PRINTK("bind ip and port failed");
3573 PRINTK("listen failed\n");
3577 PRINTK("waiting for accept\n");
3582 PRINTK("Accept failed, %d\n", ret);
3608 PRINTK("\nUsage: udpserver <port>\n");
3615 PRINTK("\nUsage: Invalid Port\n");
3621 PRINTK("port:%d\r\n", port);
3625 PRINTK("\ncreate socket fail\n");
3636 PRINTK("bind ip and port failed:%d\n", errno);
3697 PRINTK("Error: type < 0\n");
3731 PRINTK("Error: idx < 0\n");
3766 PRINTK("\nUsage:\n");
3767 PRINTK("netdebug memp {-i | -d <type> | -udp | -tcp | -raw |-conn}\n");
3768 PRINTK("netdebug sock {-i | -d <idx>}\n");
3773 PRINTK("\nUsage:\n");
3774 PRINTK("netdebug memp {-i | -d <type> | -udp | -tcp | -raw |-conn}\n");
3779 PRINTK("\nUsage:\n");
3780 PRINTK("netdebug sock {-i | -d <idx>}\n");
3798 PRINTK("%s: tcpip_init have not been called\n", __FUNCTION__);
3803 PRINTK("=================\n");
3804 PRINTK("|| Prefix List ||\n");
3805 PRINTK("=================\n");
3806 PRINTK("%-50s %-16s %-20s\n", "Prefix", "netif", "validLifetime");
3807 PRINTK("---------------------------------------------------------------------------------\n");
3813 PRINTK("%-50s ", acIPv6Addr);
3814 PRINTK("%-16s ", netif_get_name(prefix_list[i].netif));
3815 PRINTK("%-20u\n", prefix_list[i].invalidation_timer);
3820 PRINTK("**** NO VALID PREFIXES FOUND CONFIGURED ****\n");
3822 PRINTK("---------------------------------------------------------------------------------\n");
3826 PRINTK("\n\n");
3827 PRINTK("============================\n");
3828 PRINTK("|| Neighbor Cache Entries ||\n");
3829 PRINTK("============================\n");
3830 PRINTK("%-50s %-25s %-16s %-15s %-10s\n", "Neighbor", "MAC", "netif", "state", "IsRouter");
3831 PRINTK("------------------------------------------------------------"
3840 PRINTK("%-50s ", acIPv6Addr);
3848 PRINTK("%-25s ", aclladdr);
3849 PRINTK("%-16s ", netif_get_name(neighbor_cache[i].netif));
3850 PRINTK("%-15s ", acStates[neighbor_cache[i].state]);
3851 PRINTK("%-10s\n", (neighbor_cache[i].isrouter ? "Yes" : "No"));
3855 PRINTK("**** NO NEIGHBOURS FOUND ****\n");
3857 PRINTK("------------------------------------------------------------"
3862 PRINTK("\n\n");
3863 PRINTK("===============================\n");
3864 PRINTK("|| Destination Cache Entries ||\n");
3865 PRINTK("===============================\n");
3866 PRINTK("%-50s %-50s %-10s %-10s\n", "Destination", "NextHop", "PMTU", "age");
3867 PRINTK("------------------------------------------------------------"
3875 PRINTK("%-50s ", acIPv6Addr);
3878 PRINTK("%-50s ", acIPv6Addr);
3879 PRINTK("%-10u ", destination_cache[i].pmtu);
3880 PRINTK("%-10u\n", destination_cache[i].age);
3884 PRINTK("**** NO DESTINATION CACHE FOUND ****\n");
3886 PRINTK("------------------------------------------------------------"
3890 PRINTK("\n\n");
3891 PRINTK("============================\n");
3892 PRINTK("|| Default Router Entries ||\n");
3893 PRINTK("============================\n");
3894 PRINTK("%-50s %-20s %-10s\n", "Router", "invalidation_timer", "flags");
3895 PRINTK("-----------------------------------------------------------------------------\n");
3902 PRINTK("%-50s ", acIPv6Addr);
3903 PRINTK("%-20u ", default_router_list[i].invalidation_timer);
3904 PRINTK("%-10u\n", default_router_list[i].flags);
3908 PRINTK("**** NO DEFAULT ROUTERS FOUND ****\n");
3910 PRINTK("-----------------------------------------------------------------------------\n");