From owner-freebsd-net@FreeBSD.ORG Fri May 28 23:56:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B4D16A4CE; Fri, 28 May 2004 23:56:13 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C51543D2F; Fri, 28 May 2004 23:56:13 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc11) with ESMTP id <20040529065601011009f1s5e>; Sat, 29 May 2004 06:56:02 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA90160; Fri, 28 May 2004 23:55:59 -0700 (PDT) Date: Fri, 28 May 2004 23:55:58 -0700 (PDT) From: Julian Elischer To: Gleb Smirnoff In-Reply-To: <20040528145603.GB45038@cell.sick.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: Harti Brandt cc: Roman Kurakin Subject: Re: shutdown node VS disconnect all hooks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 06:56:13 -0000 On Fri, 28 May 2004, Gleb Smirnoff wrote: > On Fri, May 28, 2004 at 06:31:18PM +0400, Roman Kurakin wrote: > R> >On Fri, May 28, 2004 at 05:50:21PM +0400, Roman Kurakin wrote: > R> >R> >Here is the first one - convert all ng_type initializers to C99 sparse > R> >R> >type. > R> >R> > > R> >R> Hey guys, it seems all of you forgot about device nodes :-) > R> > > R> >Which ones? Just point me and I'll send diffs. My fingers can already > R> >convert > R> >ng_type initializers to c99 without interaction with brain :) > R> > > R> /cronyx/CVSUP/FreeBSD-5x/src/sys > grep -R "\bng_type\b" * | grep -v > R> "^netgraph" > R> | grep -v "ctau" | grep -v "cp" | grep -v "cx" > > Thanks. Why did you skip your own nodes? > > R> dev/ar/if_ar.c:static struct ng_type typestruct = { > R> dev/musycc/musycc.c:static struct ng_type ngtypestruct = { > R> dev/sr/if_sr.c:static struct ng_type typestruct = { > R> dev/usb/udbp.c:Static struct ng_type ng_udbp_typestruct = { > R> i4b/driver/i4b_ing.c:static struct ng_type typestruct = { > R> pci/if_mn.c:static struct ng_type mntypestruct = { > also netgraph/bluetooth/drivers/h4/ng_h4.c netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c netgraph/bluetooth/drivers/ubt/ng_ubt.c > here are the patches > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE >