mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
igmp: bypass MULTICAST_LOOP/TTL options
Signed-off-by: chao.an <anchao@xiaomi.com> Change-Id: I4c8064283327b04ece2037419e2693e8ae3abaab
This commit is contained in:
@@ -183,17 +183,21 @@ int ipv4_setsockopt(FAR struct socket *psock, int option,
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
/* The following IPv4 socket options are defined, but not implemented */
|
||||
|
||||
case IP_MULTICAST_IF: /* Set local device for a multicast
|
||||
* socket */
|
||||
case IP_MULTICAST_TTL: /* Set/read the time-to-live value of
|
||||
* outgoing multicast packets */
|
||||
case IP_MULTICAST_LOOP: /* Set/read boolean that determines
|
||||
* whether sent multicast packets
|
||||
* should be looped back to local
|
||||
* sockets. */
|
||||
{
|
||||
ret = OK;
|
||||
}
|
||||
break;
|
||||
|
||||
/* The following IPv4 socket options are defined, but not implemented */
|
||||
|
||||
case IP_MULTICAST_IF: /* Set local device for a multicast
|
||||
* socket */
|
||||
case IP_UNBLOCK_SOURCE: /* Unblock previously blocked multicast
|
||||
* source */
|
||||
case IP_BLOCK_SOURCE: /* Stop receiving multicast data from
|
||||
|
||||
Reference in New Issue
Block a user