diff options
author | Christoph Lameter <cl@gentwo.de> | 2023-03-16 00:43:58 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-03-17 22:02:39 +0100 |
commit | 26e321a9c2662e33ed7f7eba33cf3cf04027bdb6 (patch) | |
tree | 147dbfbbc0dcbba7fbd127e4d7d823e0107bd00a | |
parent | e881955a42c14a8f0d6b661b436b5fd421cb710a (diff) |
ip.7: Fix IP_MULTICAST_ALL description
INADDR_ANY has nothing to do with the IP_MULTICAST_ALL option.
It does not matter if the interface is bound to all interfaces
or a particular interface for the functionality of IP_MULTICAST_ALL.
Multicast datagrams are addressed to a multicast IP address and will enter
the network stack via a particular interface. The application can choose
from which interface it will receive multicast data by binding the socket
to an IP address. It can then use the IP_MULTICAST_ALL option to
restrict the multicast groups that the IP stack will deliver via the
socket.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man7/ip.7 | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -574,10 +574,7 @@ that wish to deliberately send probe packets larger than the observed Path MTU. .TP .BR IP_MULTICAST_ALL " (since Linux 2.6.31)" -This option can be used to modify the delivery policy of multicast messages -to sockets bound to the wildcard -.B INADDR_ANY -address. +This option can be used to modify the delivery policy of multicast messages. The argument is a boolean integer (defaults to 1). If set to 1, the socket will receive messages from all the groups that have been joined |