From owner-freebsd-hackers Fri Sep 21 3:52:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from samar.sasken.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id 8103E37B416 for ; Fri, 21 Sep 2001 03:52:33 -0700 (PDT) Received: from samar (localhost [127.0.0.1]) by samar.sasken.com (8.11.3/8.11.3) with SMTP id f8LAqUV16284 for ; Fri, 21 Sep 2001 16:22:30 +0530 (IST) Received: from localhost (pmk@localhost) by sunk2.sasi.com (8.9.3/8.9.3) with ESMTP id QAA14079 for ; Fri, 21 Sep 2001 16:22:29 +0530 (IST) Date: Fri, 21 Sep 2001 16:22:29 +0530 (IST) From: Mohana Krishna Penumetcha X-Sender: To: Subject: arguments to driver ioctl commands SIOC[ADD|DEL]MULTI In-Reply-To: <66893.1001060088@critter> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG when the driver ioctl (i.e. ifp->if_ioctl) is called with either SIOCADDMULTI or SIOCDELMULT, NULL value is passed as data argument to the ioctl function. but going through the code(in net/if.c file if_addmulti and if_delmulti functions) doesn't reveal the logic behind it. can anyone tell me why NULL pointer is passed instead of pointer to the multicast address structre either being added or deleted. my implementation of the driver requires this value, can anyone suggest a method to get those values? regards, mohan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message