From owner-freebsd-net@FreeBSD.ORG Tue Jan 15 20:51:25 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 357AC34F for ; Tue, 15 Jan 2013 20:51:25 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx1.freebsd.org (Postfix) with ESMTP id A5C0B7AE for ; Tue, 15 Jan 2013 20:51:24 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id fr10so646046lab.3 for ; Tue, 15 Jan 2013 12:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wx/AxtN3kYcT15nER8fpeQ9QRzFY67ccwfGNyt9Znwg=; b=Yc1esCF/fxupqEXG6f3tQMPcZsdxenoRanqb6xQ6Q1szC3RyikAgsX6k3IoW5Wh9Ur agr52JHJmA6CiJo+YwRWgb0LKZxEzfKHpa+q/SnO8Ivi5eM9s4B9eUC4OPx6focciwdm ujX4dOqLvRiylKRylB3NfuK7cLCem47S3JJvY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=wx/AxtN3kYcT15nER8fpeQ9QRzFY67ccwfGNyt9Znwg=; b=hVVrVMsLIF/9Pidr77ji8sM96celaHdDvf/5K6a8tHx+EvYdAoEvdt46eH7pzCreXy AHI4gptkfevZqnit9+hSEngyxOsdqTsjdlTZazO1yip0RU7+uqFYAkpbg8pey04x2xKS aAFf18xZgrD7okoRJmmD5T9f7lJF5r1DK2AUeTW1HO1EhKs/SHBNE/TJPV7bWGgdO0+6 5G5fIVJRZl6D4tqu0hiT/O2VSIpy2q9FbV+UBacwDZ4VjcY3d07lEQEspDr11RqCTbFN QsWs5dCqw0CJviw6W5CzwQW9b3UzCGVlwP63JHdGPMMDZqafpHoxQUAp2WMAKY4HIXBy po3w== Received: by 10.112.82.136 with SMTP id i8mr2427831lby.74.1358283077746; Tue, 15 Jan 2013 12:51:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.30.131 with HTTP; Tue, 15 Jan 2013 12:50:47 -0800 (PST) In-Reply-To: <201301141550.13577.jhb@freebsd.org> References: <201301141550.13577.jhb@freebsd.org> From: Eitan Adler Date: Tue, 15 Jan 2013 15:50:47 -0500 Message-ID: Subject: Re: [PATCH] Don't imply TCP and UDP socket options are bitmasks To: John Baldwin Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmmXjsi6SV3gp/wa6tiwk7DNvJcA96Dh/Usal/X7kO1Bk+VxXOCJ8iHJ3ybXliplHZIY2do Cc: net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 20:51:25 -0000 On 14 January 2013 15:50, John Baldwin wrote: > Using a bitmask forces us to run out of bits and makes it > harder for vendors to try to use a high range of values for local custom > options (hoping that they never conflict with a new option value added in > stock FreeBSD). We should explicitly decide and #define the boundary value for custom options. -- Eitan Adler