• N
    ipv4: New multicast-all socket option · f771bef9
    Nivedita Singhvi 提交于
    After some discussion offline with Christoph Lameter and David Stevens
    regarding multicast behaviour in Linux, I'm submitting a slightly
    modified patch from the one Christoph submitted earlier.
    
    This patch provides a new socket option IP_MULTICAST_ALL.
    
    In this case, default behaviour is _unchanged_ from the current
    Linux standard. The socket option is set by default to provide
    original behaviour. Sockets wishing to receive data only from
    multicast groups they join explicitly will need to clear this
    socket option.
    Signed-off-by: NNivedita Singhvi <niv@us.ibm.com>
    Signed-off-by: Christoph Lameter<cl@linux.com>
    Acked-by: NDavid Stevens <dlstevens@us.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    f771bef9
in.h 9.1 KB