mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 00:27:09 +08:00
Add multicast support to loopif
This commit adds support to send and receive multicast on the loopback netif by enabling IGMP via NETIF_FLAG_IGMP This commit also introduces an LwIP configuration option, LWIP_LOOPIF_MCAST, to control the behavior and it defaults to off
This commit is contained in:
@@ -1424,6 +1424,13 @@
|
||||
#define LWIP_HAVE_LOOPIF LWIP_NETIF_LOOPBACK
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_LOOPIF_MCAST==1: Support multicast on loop interface (127.0.0.1).
|
||||
*/
|
||||
#ifndef LWIP_LOOPIF_MCAST
|
||||
#define LWIP_LOOPIF_MCAST 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
------------------------------------
|
||||
---------- SLIPIF options ----------
|
||||
|
||||
Reference in New Issue
Block a user