From owner-cvs-all Sun May 12 23:50:31 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id E03ED37B400; Sun, 12 May 2002 23:50:27 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020513065027.DGOI10136.rwcrmhc51.attbi.com@blossom.cjclark.org>; Mon, 13 May 2002 06:50:27 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g4D6oQb51916; Sun, 12 May 2002 23:50:26 -0700 (PDT) (envelope-from cjc) Date: Sun, 12 May 2002 23:50:26 -0700 From: "Crist J. Clark" To: Luigi Rizzo Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fw.c Message-ID: <20020512235026.I2824@blossom.cjclark.org> References: <200205122043.g4CKhod56192@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200205122043.g4CKhod56192@freefall.freebsd.org>; from luigi@FreeBSD.org on Sun, May 12, 2002 at 01:43:50PM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, May 12, 2002 at 01:43:50PM -0700, Luigi Rizzo wrote: [snip] > and type can be a single ethernet type, a range, or a type followed by > a mask (values are always in hexadecimal) e.g. > > 0800 > 0800-0806 > 0800/8 > 0800&03ff > > Note, I am still uncertain on what is the best format for inputting > these values, having the values in hexadecimal is convenient in most > cases but can be confusing sometimes. Suggestions welcome. I think for 'type' some common types should be available as strings, 'ip' and 'arp' being the obvious ones. Others can be added if there is a call for them. For people who want to filter only incoming or outgoing ARP (some people want this), it'd be nice to have the usual 'via' options for this. But I understand why this really is not feasible for the current implementation in the bridge(4) code. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message