nuttx/drivers/net
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
..
CMakeLists.txt qemu/wifi: Add the virtual wifi function on the emulator. 2023-12-14 20:22:12 -08:00
dm90x0.c
enc28j60.c
enc28j60.h
encx24j600.c
encx24j600.h
ftmac100.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
Kconfig qemu/wifi: Add the virtual wifi function on the emulator. 2023-12-14 20:22:12 -08:00
ksz9477_i2c.c
ksz9477_reg.h
ksz9477.c
lan91c111.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
lan91c111.h
lan9250.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
lan9250.h driver/net/lan9250: Add LAN9250 driver(SPI and QSPI mode) 2023-12-07 19:53:05 -08:00
loopback.c net/loopback: Fix flags of lo device 2023-11-29 07:57:01 -08:00
Make.defs qemu/wifi: Add the virtual wifi function on the emulator. 2023-12-14 20:22:12 -08:00
netdev_upperhalf.c net/netdev: Modify the logic for setting the IFF_RUNNING status of interfaces. 2023-12-15 18:24:23 -08:00
phy_notify.c
rpmsgdrv.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
skeleton.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
slip.c enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
telnet.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
tun.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
w5500.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
wifi_sim.c net/netdev: Modify the logic for setting the IFF_RUNNING status of interfaces. 2023-12-15 18:24:23 -08:00