From patchwork Fri Jun 19 07:21:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nivedita Singhvi X-Patchwork-Id: 28902 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id D9F91B7283 for ; Fri, 19 Jun 2009 17:22:19 +1000 (EST) Received: by ozlabs.org (Postfix) id CCCAADDD1B; Fri, 19 Jun 2009 17:22:19 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 58428DDD01 for ; Fri, 19 Jun 2009 17:22:19 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbZFSHVy (ORCPT ); Fri, 19 Jun 2009 03:21:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753041AbZFSHVy (ORCPT ); Fri, 19 Jun 2009 03:21:54 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:40757 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605AbZFSHVx (ORCPT ); Fri, 19 Jun 2009 03:21:53 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5J7KUcQ015886; Fri, 19 Jun 2009 01:20:30 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5J7LtZ2248538; Fri, 19 Jun 2009 01:21:55 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5J7LtX2014021; Fri, 19 Jun 2009 01:21:55 -0600 Received: from [9.65.58.227] (sig-9-65-58-227.mts.ibm.com [9.65.58.227]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n5J7LsTx014012; Fri, 19 Jun 2009 01:21:54 -0600 Message-ID: <4A3B3C92.9050003@us.ibm.com> Date: Fri, 19 Jun 2009 00:21:54 -0700 From: Nivedita Singhvi User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: netdev , mtk.manpages@gmail.com CC: linux-man@vger.kernel.org Subject: Re: [PATCH] man page update (ip.7) to reflect new socket option in 2.6.31 References: <4A3B37FD.4040801@us.ibm.com> In-Reply-To: <4A3B37FD.4040801@us.ibm.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Nivedita Singhvi wrote: > This patch adds the IP_MULTICAST_ALL option to > the ip.7 man page, to bring it up to date with > 2.6.31 development. Ah, the "since" is intended to be inclusive. The 2.6.30 needs to be 2.6.31. Correct version below. Apologies! Signed-off-by: Nivedita Singhvi --- man7/ip.7 | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) -- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/man7/ip.7 b/man7/ip.7 index ab866a1..6932ba2 100644 --- a/man7/ip.7 +++ b/man7/ip.7 @@ -357,7 +357,6 @@ and retrieve the MTU by calling with the .B IP_MTU option. - It is possible to implement RFC 4821 MTU probing with .B SOCK_DGRAM or @@ -383,6 +382,15 @@ When an invalid socket option is passed, .B ENOPROTOOPT is returned. .TP +.BR IP_MULTICAST_ALL " (since Linux 2.6.31)" +Sets the multicast delivery policy to the socket. Argument is a boolean +integer that enables or disables multicast delivery from all groups. +If not set, delivery to the socket is restricted to data from those multicast +groups that have been explicitly subscribed to via a multicast join operation +for this socket. The default is 1 which means that a socket which is bound +to the wildcard address (INADDR_ANY) will receive multicast packets from all +groups that have been subscribed to on this system. +.TP .BR IP_MULTICAST_LOOP " (since Linux 1.2)" Sets or reads a boolean integer argument that determines whether sent multicast packets should be looped back to the local sockets.