From owner-freebsd-current@FreeBSD.ORG Fri Jan 17 13:06:18 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D761C53 for ; Fri, 17 Jan 2014 13:06:18 +0000 (UTC) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4D9A110E for ; Fri, 17 Jan 2014 13:06:17 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id q58so4547731wes.31 for ; Fri, 17 Jan 2014 05:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4dkmxOwhX27MTFooeFLwwgf8QfvI890x7UMQX5pvRS8=; b=aYvyFAUtsPb9tIYwFx88ihnPzkwCkUhHjS/TncjMWTNKUbluTeG4x3/y1bnM9XC4yC ByWaJcrvdny8YjKrUvnaZuTtpcVtKaCW8pWS93DMZE2ekEINoRmyC3nMrkTNCUWsVy+G IaPC0JxNgAOchdXv/jDQKyViczkO43IEmLX1vj70CWee6Fd02Y7uqUTiDWbDlno72B/R yY5DBDeS3rmxxQx+XbOkSAHVz2a6jvXGepCbTGxV+7YqTZWR48EiW8FLL6J18UZPNlNN KUDyyUreZHZyGbq1q65O9xKotpNzuitCXhSkdt/e/IcVhQ2Bmui9Bzi3tGzKNbF+ZDVw KYPg== X-Received: by 10.180.37.193 with SMTP id a1mr2334707wik.52.1389963976379; Fri, 17 Jan 2014 05:06:16 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id 12sm5620576wjm.10.2014.01.17.05.06.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 17 Jan 2014 05:06:15 -0800 (PST) Sender: Baptiste Daroussin Date: Fri, 17 Jan 2014 14:06:13 +0100 From: Baptiste Daroussin To: Luigi Rizzo Subject: Re: picking a new AF_* number for NETLINK ? Message-ID: <20140117130613.GA3760@ithaqua.etoilebsd.net> References: <20140116231902.GA51955@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20140116231902.GA51955@onelab2.iet.unipi.it> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 13:06:18 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 17, 2014 at 12:19:02AM +0100, Luigi Rizzo wrote: > In porting the kernel openvswitch code to FreeBSD we > have implemented netlink sockets, so we need to pick a > number to use for AF_NETLINK/PF_NETLINK in the messages. >=20 > Obviously we'd like ovs to be loadable as a module on existing > kernels, so i wonder if there are any restrictions on what we > can use -- specifically, whether we should make sure that >=20 > AF_NETLINK < AF_MAX=20 >=20 > or that is irrelevant. I asked this question a couple of month ago to Alfred (who did the reservat= ion stuff) exactly for AF_NETLINK which I planned to implement here is his answ= er: | You want to take 38. |=20 | The next person should take 40. |=20 | All odds until 133 are allocated for vendors and should not be used by Fr= eeBSD | code. regards, Bapt --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlLZKsUACgkQ8kTtMUmk6EwecQCfQ4imO1QF7wuMETtOOonLx1dz jWQAoI+gVbs4+xIOE6XMCJR1eAGirwPS =/e/W -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--