This commit adds support for semi-standard IPPROTO_ICMP6 sockets. This is a...
This commit adds support for semi-standard IPPROTO_ICMP6 sockets. This is a replacement for the non-standard ICMPv6 ping support that violated the portable POSIX OS interface. Squashed commit of the following: net/icmpv6: IPPROT_ICMP6 socket logic now builds without error. net/icmpv6: Add support for read-ahead and poll(). Initial commit is just cloned from ICMP with the appropriate name changes. configs/: All defconfig filess that include CONFIG_NET_ICMPv6_SOCKET=y need to select CONFIG_SYSTEM_PING6=y and deselect CONFIG_DISABLE_POLL. Update NSH documention to show that ping6 is now a built in command. net/icmpv6: Add icmpv6_sendto.c and icmpv6_recvfrom.c. Initial versions are just clones from icmp/ with appropriate name changes. net/icmpv6: Clone some ICMP socket logic as the beginning of support for ICMPv6 socket support. Rename CONFIG_NET_ICMPv6_PING to CONFIG_NET_ICMPv6_SOCKET. Move prototype for icmpv6_ping from include/nuttx/net/icmpv6 to net/icmpv6/icmpv6.h
Showing
- Documentation/NuttShell.html 63 additions, 85 deletionsDocumentation/NuttShell.html
- TODO 0 additions, 1 deletionTODO
- configs/dk-tm4c129x/ipv6/defconfig 2 additions, 2 deletionsconfigs/dk-tm4c129x/ipv6/defconfig
- configs/sama5d4-ek/ipv6/defconfig 2 additions, 1 deletionconfigs/sama5d4-ek/ipv6/defconfig
- configs/same70-xplained/mrf24j40-starhub/defconfig 2 additions, 1 deletionconfigs/same70-xplained/mrf24j40-starhub/defconfig
- configs/samv71-xult/mrf24j40-starhub/defconfig 2 additions, 2 deletionsconfigs/samv71-xult/mrf24j40-starhub/defconfig
- configs/sim/README.txt 1 addition, 1 deletionconfigs/sim/README.txt
- configs/stm32f4discovery/ipv6/defconfig 2 additions, 2 deletionsconfigs/stm32f4discovery/ipv6/defconfig
- configs/tm4c1294-launchpad/ipv6/defconfig 2 additions, 2 deletionsconfigs/tm4c1294-launchpad/ipv6/defconfig
- drivers/net/loopback.c 1 addition, 1 deletiondrivers/net/loopback.c
- include/netinet/in.h 2 additions, 2 deletionsinclude/netinet/in.h
- include/nuttx/net/icmpv6.h 0 additions, 30 deletionsinclude/nuttx/net/icmpv6.h
- net/devif/devif_poll.c 4 additions, 4 deletionsnet/devif/devif_poll.c
- net/icmp/Kconfig 2 additions, 2 deletionsnet/icmp/Kconfig
- net/icmp/icmp.h 3 additions, 3 deletionsnet/icmp/icmp.h
- net/icmp/icmp_input.c 4 additions, 4 deletionsnet/icmp/icmp_input.c
- net/icmp/icmp_netpoll.c 4 additions, 4 deletionsnet/icmp/icmp_netpoll.c
- net/icmp/icmp_recvfrom.c 1 addition, 1 deletionnet/icmp/icmp_recvfrom.c
- net/icmp/icmp_sendto.c 4 additions, 3 deletionsnet/icmp/icmp_sendto.c
- net/icmpv6/Kconfig 15 additions, 9 deletionsnet/icmpv6/Kconfig
Loading
Please register or sign in to comment