| net/ethernet: add netlib api to get/set driver channels info add netlib api to get/set driver channels info Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 |
| netutils/netlib/netlib_parseurl.c: Add a more flexible version of netlib_parsehttpurl. This one can parse any URL, and is extensible so future improvements keep the same API. | 2 个月前 |
| Merge branch 'dev-merge-github-20230228' into dev | 2 个月前 |
| net/ethernet: add netlib api to get/set driver channels info add netlib api to get/set driver channels info Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 |
| netutils/netlib: Add support for add/del a single IPv6 address Note: The SIOCSIFADDR and SIOCDIFADDR uses different params for AF_INET and AF_INET6 (struct ifreq vs struct in6_ifreq) as defined by https://man7.org/linux/man-pages/man7/netdevice.7.html Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| vconfig: Support setting default PCP when creating VLAN Now we allow setting a default PCP when creating VLAN like: vconfig add iface-name vlan-id [pcp] e.g. vconfig add eth0 10 will create eth0.10 with VID=10 and no PCP(0) vconfig add eth0 10 3 will create eth0.10 with VID=10 and PCP=3 Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| Revert "netlib: enable SOCK_CLOEXEC explicit" This reverts commit b3a953867ce82257be91d994336686d6b9a1df2a. Reason for revert: Not needed any more because we have set SOCK_CLOEXEC for NET_SOCK_TYPE https://gerrit.pt.mioffice.cn/c/vela/nuttx/+/3491465 Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| apps/net: add http connectivity check API Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 |
| apps/net: add ip conflict check API Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 |
| apps/net: add if network conntivity check API Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 |
| netlib: support checkipconnectivity when use reslov.conf Signed-off-by: wenquan1 <wenquan1@xiaomi.com> | 2 个月前 |
| dns:add interface for cleardnsaddr Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 |
| netutils/netlib: Add netfilter conntrack functions Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| arp: Remove the unnecessary inclusion of nuttx/net/arp and change the remain inclusion to netinet/arp.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netutils/netlib: Add support for add/del a single IPv6 address Note: The SIOCSIFADDR and SIOCDIFADDR uses different params for AF_INET and AF_INET6 (struct ifreq vs struct in6_ifreq) as defined by https://man7.org/linux/man-pages/man7/netdevice.7.html Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| netlib: Add support for adding/removing VLAN device Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| Merge remote-tracking branch 'remotes/mirtos/dev-nuttx-10.1-20210927' into dev | 2 个月前 |
| net/ethernet: add netlib api to get/set driver channels info add netlib api to get/set driver channels info Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 |
| arp: Remove the unnecessary inclusion of nuttx/net/arp and change the remain inclusion to netinet/arp.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netlib_getarptab.c: improved the display without any arp entry before: server> arp ERROR: send() failed: 2 nsh: arp: S��x�����Ì failed: 2 server> after: server> arp IP Address Ethernet Address Interface server> Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 |
| arp: Remove the unnecessary inclusion of nuttx/net/arp and change the remain inclusion to netinet/arp.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netlib_getifstatistics.c:The issue of ymodem pull failure was resolved by switching the exception printing interface from fprintf to nerr Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 |
| Fix the coding style issue Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| apps/net: add get iobinfo api Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix the coding style issue Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| sched/task/task_getpid: getpid should return process id not thread id Summary: implement the right semantics: 1. getpid should return the main thread id 2. gettid should return the current thread id Refer to: https://github.com/apache/incubator-nuttx/issues/2499 https://github.com/apache/incubator-nuttx/pull/2518 Testing PASSED with qemu( 32/64 ) Signed-off-by: qinwei1 <qinwei1@xiaomi.com> | 2 个月前 |
| netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| drivertest: Modify output format before: slave size 4slave poll read 0 1 2 3 master write 0 1 2 3 now: read size = 4 slave poll read 0 1 2 3 master write 0 1 2 3 Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com> | 2 个月前 |
| netlib/ip6tables: Add functions for ip6tables & filter table Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] NET_SOCK_* is defined by nuttx/net/netconfig.h and then can be shared Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Revert "netlib_iptables.c: do not use SOCK_CTRL to set/getsockopt" This reverts commit 556150973cbba410c6a59366f8d622e3768acc0f. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 |
| fsutils/examples: Include unistd.h explicitly to get the prototypes or macros are defined in it Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| fsutils/examples: Include unistd.h explicitly to get the prototypes or macros are defined in it Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Merge remote-tracking branch 'remotes/mirtos/dev-upmerge-nuttx-10.2' into dev | 2 个月前 |
| Minor typo fix Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| netutils: fix compile error when not defined CONFIG_NET_ETHERNET /home/ligd/platform/dev/apps/netutils/netlib/netlib_obtainipv4addr.c:117: undefined reference to `netlib_getmacaddr' Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 |
| netlib: Delete the redundancy code. Signed-off-by: liqinhui <liqinhui@xiaomi.com> | 2 个月前 |
| Fixed compiler warnings. | 2 个月前 |
| Minor typo fix Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| ifconfig: Support prefixlen/CIDR for IPv6 Linux: ifconfig eth0 [inet6] add 2022::2/96 FreeBSD: ifconfig eth0 inet6 2022::2/96 ifconfig eth0 inet6 2022::2 prefixlen 96 NuttX newly supported: ifconfig eth0 inet6 [add] 2022::2/96 ifconfig eth0 inet6 [add] 2022::2 prefixlen 96 Ref: https://man7.org/linux/man-pages/man8/ifconfig.8.html https://www.freebsd.org/cgi/man.cgi?ifconfig Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| enable SOCK_CLOEXEC explicit leaking here means fork/vfork will duplicate fd without O_CLOEXEC flag to the child process. Signed-off-by: wanggang26 <wanggang26@xiaomi.com> | 2 个月前 |
| netlib_setarp.c: add ATF_PERM to mark arp entry as permanent Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 |
| netlib/setroute: fix dhcpd stack-overflow when calls netlib_set_dripv4addr with debug info-level Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| net/ethernet: ARP can be configured on interface ARP can be configured on interface Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 |
| netutils/netlib: Add support for add/del a single IPv6 address Note: The SIOCSIFADDR and SIOCDIFADDR uses different params for AF_INET and AF_INET6 (struct ifreq vs struct in6_ifreq) as defined by https://man7.org/linux/man-pages/man7/netdevice.7.html Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| netlib: set addr.sin_zero to 0 in netlib_set_ipv4dnsaddr In dns_add_nameserver, the dns_check_nameserver is comparing addresses with addrlen = sizeof(struct sockaddr_in) for IPv4 addresses, so the trailing sin_zero field should be 0, otherwise it may fail to figure out same nameserver address. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| Revert "netlib: enable SOCK_CLOEXEC explicit" This reverts commit b3a953867ce82257be91d994336686d6b9a1df2a. Reason for revert: Not needed any more because we have set SOCK_CLOEXEC for NET_SOCK_TYPE https://gerrit.pt.mioffice.cn/c/vela/nuttx/+/3491465 Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Merge branch 'master' into vela apache/nuttx-apps commit id: c5c18a29973802b196e77adf3fd3e6742a269d83 Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |
| nshlib/netcmds:modify the description of setting MTU modify the description of setting MTU Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 |
| netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 |