From owner-freebsd-net@FreeBSD.ORG Wed May 21 16:49:46 2014 Return-Path: Delivered-To: net@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 4D39B506; Wed, 21 May 2014 16:49:46 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70DC828C7; Wed, 21 May 2014 16:49:45 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id w7so1791607lbi.15 for ; Wed, 21 May 2014 09:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gZAMD1z7uZbfTTgSTmPO3adW2FUHhDmFTIVf8bcCPAQ=; b=l3vAKITRKEGVhh+eoWeyDxnPtqLfIc1cbSq0VBFhEpNxyKNVWejaM7ydZj2rXqcHNo D20w7Y92YzDCcjyOy30voLWvsQKIAc7bkMFahpu9FFkriUTAfZB+Z+335UXPNU7JAc7p 3O70Gt3LXB/sHLmFDDGum+N58tb1TT6HoBxMnW4PF5P7hLjJGQifPsaxPKDbehOGfq+J t+3gKnn1oPLMM3NkH+IlRmaL6B4xgUHQ2bQZaQDi1+gI3MmhWtexEXRkib/ju47tsvv6 mb7QmseNVo112p1n2LiECrpihhjx9QHmKx/Y8C7K4P5Ku/r2wyYnyUQlMudmB+oi9TRm 4TpQ== MIME-Version: 1.0 X-Received: by 10.112.50.241 with SMTP id f17mr31797467lbo.7.1400690983136; Wed, 21 May 2014 09:49:43 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.200.107 with HTTP; Wed, 21 May 2014 09:49:43 -0700 (PDT) In-Reply-To: References: <5379FE3C.6060501@FreeBSD.org> <20140521111002.GB62462@onelab2.iet.unipi.it> Date: Wed, 21 May 2014 12:49:43 -0400 X-Google-Sender-Auth: qtcbqsyrxpHCxecGpQPltF-yFSQ Message-ID: Subject: Re: [CFT]: ipfw named tables / different tabletypes From: Luigi Rizzo To: Bill Yuan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Luigi Rizzo , "Alexander V. Chernikov" , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 16:49:46 -0000 On Wed, May 21, 2014 at 11:17 AM, Bill Yuan wrote: > 1. "each table can have it's own name", I like this idea. I am also > working on this kind of functions, But I am in different way. In my > opinion. the "name" or "type" of the table, all this are utility function > for the user. in the kernel space. I want to keep all the things the same > as before. and add a translate function in the user land commands, so tha= t > means we need to find a space to keep the mapping of the name<->id or > type<->id, > =E2=80=8Bthis does not work, you'd have another database to keep in sync and on which you have races with modifications to the ipfw config. cheers luigi =E2=80=8B