From owner-svn-src-head@FreeBSD.ORG Sun Feb 22 19:26:12 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93381AF2 for ; Sun, 22 Feb 2015 19:26:12 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B167A51 for ; Sun, 22 Feb 2015 19:26:11 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id F0C3D208C9 for ; Sun, 22 Feb 2015 14:26:03 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Sun, 22 Feb 2015 14:26:04 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.net; h= x-sasl-enc:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type; s=mesmtp; bh=rR7FrblAWL7yM G8aGaWkVBPJ7nU=; b=VQ2yJDOy+9fP7OPmOPv1gvXmVVWWsL1GLdwCERJ5LGD8J RvV3zKWXxlAs6SO3svy9+ORzd/DzDPhzMUz7ubEfWU+ODfz+GG3wkVfnk8footJI +skavtamlrFtr/zPcCftqncl5f46ng71aTUvKmx13M0H5x5bcoDI5yRlt0/3DU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type; s=smtpout; bh=rR7FrblAWL7yMG8aGaWkVBPJ7nU=; b=UTIp0KhNq3LELBVY0 NOBu3nyJ+0mXTSuHfsYjfvCmFxCh5udZQ6kBE0EcU29F4nrly+nlIYJPpXUmxGvn 6RfM24nd9T0x8XPyVLlwbgI4dOCrPKbr0P7JYnANKFQSjak5n4gNE7WUQqDCWyDa WOBSwUcTItiBe6iCuh/Da52SR4= X-Sasl-enc: Q1V4Qod1k6P460rRt+Myda8fhQxNwoj/cHk10oZdcYcq 1424633164 Received: from [192.168.1.88] (unknown [94.194.112.120]) by mail.messagingengine.com (Postfix) with ESMTPA id DBE33C002A2; Sun, 22 Feb 2015 14:26:03 -0500 (EST) Message-ID: <54EA2D4B.3080501@fastmail.net> Date: Sun, 22 Feb 2015 19:26:03 +0000 From: Bruce Simpson User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gleb Smirnoff Subject: Re: svn commit: r279028 - in head/usr.sbin: . ifmcstat References: <201502192242.t1JMgY3e045902@svn.freebsd.org> <54E6A68B.1090609@fastmail.net> <20150221005051.GT15484@FreeBSD.org> In-Reply-To: <20150221005051.GT15484@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 19:26:12 -0000 On 21/02/2015 00:50, Gleb Smirnoff wrote: > > > May be you refer to code that was always under #if 0, disabled due to > difficulty to go through RB-trees via kvm(3)? My bad - yes - this code was unfinished as of SVN rev 192923, it seems I ran into problems with RB-tree walks through KREAD(). To implement this as a sysctl, one might copy the backend implementation of getsourcefilter(3) and work from there, specifically the internal IP_MSFILTER socket option. Bruce