Go to file
Zhe Weng 5aeb15469a netdev/ipv6: Move xxx_ipv6multicast from arch to common code
The `xxx_ipv6multicast` function in each driver is not adapted to
multiple IPv6 addresses yet, and they're redundant, so try to take them
into common code.

Change:
1. Add MAC `g_ipv6_ethallnodes` and `g_ipv6_ethallrouters` in
   `icmpv6_devinit` and call them in `netdev_register`
2. Add multicast MAC for Neighbor Solicitation when adding any IPv6
   address, and remove them when IPv6 address is removed
3. Select `NET_MCASTGROUP` when `NET_ICMPv6` because now we need
   `d_addmac` when we have ICMPv6

Note:
We want modules outside net stack to call functions like
`netdev_ipv6_add` and never touch the related MAC address, so these MAC
functions are added as internal functions to `net/netdev/netdev.h`

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-12-16 05:26:16 -08:00
.github build(deps): bump actions/setup-python from 4 to 5 2023-12-10 21:53:27 -08:00
arch netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly 2023-12-12 17:32:36 -08:00
boards boards/riscv: Add support for PINE64 Ox64 BL808 SBC 2023-12-15 18:52:16 -08:00
cmake cmake: split extra library from library group 2023-12-06 07:56:17 -08:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
Documentation boards/riscv: Add support for PINE64 Ox64 BL808 SBC 2023-12-15 18:52:16 -08:00
drivers netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
dummy
fs sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
graphics poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
include net/netdev: Modify the logic for setting the IFF_RUNNING status of interfaces. 2023-12-15 18:24:23 -08:00
libs libs/log2ceil: Move implementation of log2ceil to a common place 2023-12-14 08:46:12 -08:00
mm mm: Fix some typos 2023-11-24 09:57:10 -08:00
net netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
openamp openamp: Add the virtio_negotiate_features interface for virtio-net. 2023-12-13 05:00:59 -08:00
pass1
sched Update kconfig2html.c 2023-12-14 20:02:52 -08:00
syscall sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
tools Update kconfig2html.c 2023-12-14 20:02:52 -08:00
video
wireless netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
.asf.yaml
.gitignore Documentation: port warnings_filter Sphinx extension from Zephyr 2023-11-28 09:18:29 -08:00
.yamllint
AUTHORS
CMakeLists.txt cmake: NUTTX_COMMON_DIR must be set after .config definitions are included 2023-12-12 16:48:08 -03:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig debug/assert: decouple configuration of show file name feature 2023-10-20 02:22:48 +08:00
LICENSE free disk space action added to fix docker image build issue 2023-12-08 14:42:17 +01:00
Makefile
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.