From owner-freebsd-net@FreeBSD.ORG Tue May 20 07:29:09 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 875201065675 for ; Tue, 20 May 2008 07:29:09 +0000 (UTC) (envelope-from john@roof1.dnepro.net) Received: from roof1.dnepro.net (a66.dnepro.net [212.3.111.66]) by mx1.freebsd.org (Postfix) with ESMTP id F19478FC19 for ; Tue, 20 May 2008 07:29:08 +0000 (UTC) (envelope-from john@roof1.dnepro.net) Received: from roof1.dnepro.net (localhost [127.0.0.1]) by roof1.dnepro.net (8.14.1/8.14.1) with ESMTP id m4K7T57X033600 for ; Tue, 20 May 2008 10:29:06 +0300 (EEST) (envelope-from john@roof1.dnepro.net) Received: (from john@localhost) by roof1.dnepro.net (8.14.1/8.14.1/Submit) id m4K7T5F2033594 for freebsd-net@freebsd.org; Tue, 20 May 2008 10:29:05 +0300 (EEST) (envelope-from john) Date: Tue, 20 May 2008 10:29:05 +0300 From: Eugene Perevyazko To: freebsd-net@freebsd.org Message-ID: <20080520072905.GA28615@roof1.dnepro.net> Mail-Followup-To: freebsd-net@freebsd.org References: <20080515152607.GA36663@roof1.dnepro.net> <482C6303.9000904@freebsd.org> <20080519130722.GA40822@roof1.dnepro.net> <20080519232451.GA52560@sub.vaned.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080519232451.GA52560@sub.vaned.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on roof1.dnepro.net X-Virus-Status: Clean Subject: Re: How to inject fullsize 802.1q-tagged frame through BPF? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 20 May 2008 07:29:09 -0000 On Mon, May 19, 2008 at 06:24:51PM -0500, Christian S.J. Peron wrote: > Eugene, > > Thanks for the report. I will look into this. Although this patch technically > works, I think the right solution to this problem is to introduce a new DLT_ > for VLAN encapsulated frames. I will look into this problem in a bit more > detail. Thanks for your attention, Christian, but please consider that it's possible to mix tagged and untagged frames on interface and such DLT_ will put an artificial limit on this while technically there's no such limitation. Eugene Perevyazko