nuttx/drivers
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
..
1wire 1wrie:fix typo 2023-08-03 00:06:24 -07:00
analog poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
audio Update kconfig2html.c 2023-12-14 20:02:52 -08:00
bch poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
can poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
clk Kconfigs: rename {Rpmsg|rpmsg} to RPMGS 2023-10-28 13:58:56 +08:00
contactless mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
crypto Fix Kconfig style 2023-12-09 13:44:46 -08:00
devicetree fdt: Add initial FDT support and procfs for userspace export 2023-08-05 12:41:06 -07:00
dma Nuttx/dma: add dma framework for nuttx 2023-04-22 01:02:51 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
eeprom Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
efuse nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
i2c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
i2s mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
input poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
ioexpander Kconfigs: rename {Rpmsg|rpmsg} to RPMGS 2023-10-28 13:58:56 +08:00
ipcc poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
lcd poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
leds mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
loop enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
math math/mpi: add mpi driver in math 2023-10-17 13:43:43 +08:00
misc Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
mmcsd drivers/mmcsd: mmcsd_sdinitialize should save csd register into priv->csd 2023-11-19 20:24:30 +01:00
modem Update kconfig2html.c 2023-12-14 20:02:52 -08:00
motor drivers/foc: add support for drv8301 power-stage driver 2023-11-18 17:07:20 -08:00
mtd mtd/w25q: add nxsig_usleep to busy waiting in w25qxxxjv_erase_sector() 2023-12-11 16:00:07 -03:00
net netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
note libc: add instrument api support 2023-12-11 02:06:51 -08:00
pipes poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
power Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
rc poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
regmap Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
reset added mutex lock before lookup reset controller by name 2023-08-11 20:39:16 +08:00
rf build: add initial cmake build system 2023-07-08 13:50:48 +08:00
rptun drivers/rptun: check the status before stop remote proc 2023-11-07 18:27:05 +08:00
segger segger/rtt: correct macro name to avoid unable to change default mode 2023-11-30 06:16:09 -08:00
sensors Fix Kconfig style 2023-12-04 22:20:50 +08:00
serial support gdbstub use serial. 2023-12-11 08:43:26 -08:00
spi poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
syslog syslog/ramlog.c:Syslog add BIOC_FLUSH supports clearing log cache 2023-12-14 20:50:44 -08:00
timers drivers/rtc/rpmsg: Move clock_synchronize rpmsg_rtc_server_settime 2023-11-20 13:28:09 +01:00
usbdev netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
usbhost sched_lock refine: remove sched_[un]lock in xxx_waitsample 2023-11-21 20:03:43 -08:00
usbmisc poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
usbmonitor build: add initial cmake build system 2023-07-08 13:50:48 +08:00
usrsock poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
video move userspace interface from video.h to sys/videoio.h 2023-12-02 19:44:39 -08:00
virtio net/netdev: Modify the logic for setting the IFF_RUNNING status of interfaces. 2023-12-15 18:24:23 -08:00
wireless netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
.gitignore
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
drivers_initialize.c driver/tee: add optee client driver module 2023-11-23 06:25:48 -08:00
Kconfig nuttx/drivers: add regmap subsystems support. 2023-09-27 00:46:51 +08:00
Makefile nuttx/drivers: add regmap subsystems support. 2023-09-27 00:46:51 +08:00