summaryrefslogtreecommitdiff
path: root/components/net/Kconfig
AgeCommit message (Collapse)Author
2026-08-17Add AF_UNIX sockets implementation (#11681)Bernard Xiong
* components/dfs: support unix socket nodes AF_UNIX pathname binding and descriptor passing require DFSv2 socket nodes and retained open file descriptions across fd tables. Add socket-node creation for tmpfs and devtmpfs, fd reference helpers, and socket F_SETFL forwarding. Impact: DFSv2 socket nodes and descriptor reference handling. Validation: git diff --cached --check. * components/net/sal: support local protocol providers Local IPC protocol families do not have a backing network device. Store the selected provider in each SAL socket and add a local provider registry while preserving netdev checks for Internet sockets. Handle DFSv2 close semantics, socketpair flags, and MSG_CTRUNC for AF_UNIX integration. Impact: SAL protocol dispatch for all socket families. Validation: git diff --cached --check. * components/lwp: support unix socket messages Musl AF_UNIX addresses and ancillary data require explicit ABI and user-memory conversion at the LWP syscall boundary. Add the musl msghdr layout, bounded address and message copying, control-message level conversion, and MSG_CTRUNC translation. Correct receive buffer allocation and copy lengths while handling messages. Impact: LWP socket syscalls when SAL is enabled. Validation: git diff --cached --check. * components/net/af_unix: add local sockets Add an opt-in AF_UNIX provider for pathname-based local IPC without a synthetic network device. Support datagram and stream sockets, blocking and nonblocking I/O, timeouts, poll, socketpair, and SCM_RIGHTS descriptor passing. Include bounded Kconfig settings, component documentation, and utest coverage. Impact: enabled only by RT_USING_AF_UNIX and requires SAL POSIX with DFSv2. Validation: git diff --cached --check. * Fix AF_UNIX CI checks Apply the repository clang-format rules to the affected source lines. Suppress the cppcheck false positive for the devtmpfs list iterator. No functional behavior is changed. * components/lwp: preserve NULL optional msghdr buffers When msg_name or msg_control is NULL, keep the kernel pointer NULL instead of substituting an uninitialized buffer. Reject a NULL control buffer with a nonzero length as EFAULT. Impact: LWP sendmsg/recvmsg conversion on MMU targets. Validation: git diff --cached --check. * components/net/af_unix: fix poll UAF, namespace leak, and SCM_RIGHTS cycles Poll only the local wait queue and wake writers from the receiver. Free namespace entries on detach, and reject AF_UNIX descriptors in SCM_RIGHTS until cycle collection exists. Impact: AF_UNIX poll, bind lifetime, and descriptor passing. Validation: git diff --cached --check. * components/dfs: add DFSv2 AF_UNIX utest suite Add opt-in tests under dfs/utest/v2/af_unix for socket nodes, IPC, poll peer-close, namespace cleanup, and SCM_RIGHTS rejection. Sources are built only when RT_UTEST_TC_USING_DFS_V2_AF_UNIX and the selected test groups are enabled. Impact: DFS utest menu and build; no production AF_UNIX behavior change. Validation: git diff --cached --check.
2024-06-20除了bsp之外的Kconfig使用rsource替代sourcelatercomer
2022-02-20[net] adjust folder structure (#5587)Man, Jianting (Meco)
* [net] adjust folder structure - 将lwip相关的文件夹,移入lwip文件夹 - Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
2022-01-21[lwip]Improve lwip support for 64-bit architectureguozhanxin
2022-01-20[lwip] remove lwip 2.0.2Meco Man
- 移除2.0.2,该版本存在几个重要的bug,已经在2.0.3中修复,作者强烈建议更新 - 将部分bsp由2.0.2调整为2.0.3
2021-11-29增加RT_USING_POSIX_FSMeco Man
2021-11-08add delay.c as defaultMeco Man
2021-11-07调整SAL依赖项Meco Man
2021-11-07增加 RT_USING_POSIX_SELECT RT_USING_POSIX_POLLMeco Man
2021-11-06[posix]将pthread收缩到posix选项之下,将选定DFS后由DFS选定POS ↵Meco Man
IX 改为选择posix后选择dfs
2021-06-28[update] change default lwip stack to lwip2.0.3liuxianliang
2021-06-25[add] the support of lwip 2.0.3.liuxianliang
2021-05-09[network][lwip][kconfig] 默认LWIP协议栈版本由2.0.2转为2.1.2Meco Man
2020-12-31[add] a new function to manage internet check.xiangxistu
Signed-off-by: xiangxistu <[email protected]>
2020-09-04LwIP on 64 bit processorbigmagic
2020-06-23[update] remove lwIP 2.1.0.liuxianliang
Signed-off-by: liuxianliang <[email protected]>
2020-06-20[add] lwIP 2.1.2 transplantation on RT-Thread.liuxianliang
Signed-off-by: liuxianliang <[email protected]>
2020-06-18[net/lwip]: enable LWIP_SO_LINGER option feature of LWIP.xieyangrun
2019-09-10[net] Remove libc select in SAL and AT Socket functionchenyong
Signed-off-by: chenyong <[email protected]>
2019-06-28[components] move freemodbus to package.|将freemodbus移到软件包。guozhanxin
2019-06-24[net][sal][netdev] Add IPv6 option configuration and feature support in SAL ↵chenyong
and netdev Signed-off-by: chenyong <[email protected]>
2019-05-12[net][sal] Fix sys/time.h missing error when not enabled POSIX supportchenyong
Signed-off-by: chenyong <[email protected]>
2019-05-05[net][netdev] Add default netdev automatic change features configurationchenyong
Signed-off-by: chenyong <[email protected]>
2019-04-16[net][netdev]add network interface device components, SAL component ↵chenyong
adaptation netdev change
2019-03-14[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 ↵zylx
rt1052 系列以太网驱动,支持硬件校验和
2018-11-15[net][sal] Add SAL components TLS features supportchenyong
Signed-off-by: chenyong <[email protected]>
2018-11-02[components][dfs] 移除冗余代码MurphyZhao
[components][net] 修复 Kconfig [components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改 Signed-off-by: MurphyZhao <[email protected]>
2018-11-01[components][net] 更新 Kconfig 和 SConscript,支持 LWIP210MurphyZhao
Signed-off-by: MurphyZhao <[email protected]>
2018-09-05Fix dependency loop issue.weety
2018-08-27[net][sal] Remove DFS dependencies in the SALchenyong
2018-08-02[net][sal] Modify SAL configure judgment.chenyong
2018-07-25[net][at] Add AT commands componentchenyong
2018-07-24[lwip]修复开启SNMP选项编译会失败的问题tangyuxin
2018-07-24[lwip]Add Statistics Optiontangyuxin
2018-07-19Merge branch 'master' into lwip-debug梁永祥
2018-07-18[lwIP] add all lwIP Debugging Optionsliang yongxiang
2018-07-18[net][sal] Add SAL (socket abstraction layer) frameworkchenyong
2018-05-31[components][lwIP] Change the lwIP default selected version to 2.0.2.armink
2018-05-28[components/net] add dns server ip address config, may custom in menuconfigMurphyZhao
Signed-off-by: MurphyZhao <[email protected]>
2018-05-25[lwip] update Kconfig: add erx/etx thread config.aozima
2018-05-09[DHCPD] update DHCPD_SERVER_IP config.aozima
2018-05-09[DHCPD] add DHCPD_USING_ROUTER to Kconfig.aozima
2018-02-24[NetUtils] Remove netutils Kconfig and folder. The latest netutils is on ↵armink
packages:netutils.
2018-01-30[Net][NetUtils] Fix networking utils Kconfig and SConscript.armink
2018-01-23update lwip Kconfigflyingcys
2017-12-31[lwIP] code cleanup for Kconfig.BernardXiong
1. code cleanup for Kconfig. 2. fix the compiling warning for BYTE_ORDER.
2017-12-30update Kconfigflyingcys
2017-12-19[LWIP] enable IGMP protocol default.aozima
2017-12-18[nfs]: optimize Kconfig file for nfsSummerGift
2017-12-18[nfs]: optimize Kconfig file for nfsSummerGift