net: route: multicast routing feature

net: route: Add prefix-based ipv6 multicast forwarding

This adds/reenables the feature of multicast routing/forwarding.
The forwarding decision is based on the added multicast routes
and the new network interface flag:
NET_IF_FORWARD_MULTICASTS.

Signed-off-by: Jan Georgi <jan.georgi@lemonbeat.com>
This commit is contained in:
Jan Georgi 2020-08-17 15:24:46 +02:00 committed by Anas Nashif
commit 5931a29979
11 changed files with 869 additions and 11 deletions

View file

@ -181,6 +181,12 @@ enum net_if_flag {
/** Power management specific: interface is being suspended */
NET_IF_SUSPENDED,
/** Flag defines if received multicasts of other interface are
* forwarded on this interface. This activates multicast
* routing / forwarding for this interface.
*/
NET_IF_FORWARD_MULTICASTS,
/** @cond INTERNAL_HIDDEN */
/* Total number of flags - must be at the end of the enum */
NET_IF_NUM_FLAGS