From owner-freebsd-net Thu Nov 15 14: 4:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from willers.employees.org (willers.employees.org [128.107.241.167]) by hub.freebsd.org (Postfix) with ESMTP id 7DD7B37B416 for ; Thu, 15 Nov 2001 14:04:09 -0800 (PST) Received: from localhost (cjtt@localhost) by willers.employees.org (8.11.5/8.11.5) with SMTP id fAFM47O29135; Thu, 15 Nov 2001 14:04:07 -0800 (PST) Date: Thu, 15 Nov 2001 14:04:07 -0800 (PST) From: CJTT To: Brooks Davis Cc: freebsd-net@FreeBSD.ORG Subject: Re: ti driver, vlan and tcpdump In-Reply-To: <20011115134207.A26868@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 15 Nov 2001, Brooks Davis wrote: > On Thu, Nov 15, 2001 at 03:41:21PM -0600, Shaun Marko wrote: > > Could you also get the desired result by using a kernel without VLAN support? > > The original poster said he didn't want to configure VLAN interfaces anyway. > > For the moment, on stable hosts, that will work. Driver vlan support is > no longer optional in current and that change will be MFC'd just as soon > as I get it tested. The right answer is probably to modify the > VLAN_INPUT_TAG macro to do the bpf stuff. I see what you're talking about in the driver (if_ti.c). But I'm not sure if I understand you correctly (I can't seem to find where the VLAN_INPUT_TAG macro is located). Would a temporary fix in if_ti.c be to just remove the vlan_input_tag() clause and leave ether_input? --- #if NVLAN > 0 /* * If we received a packet with a vlan tag, pass it * to vlan_input() instead of ether_input(). */ if (have_tag) { vlan_input_tag(eh, m, vlan_tag); have_tag = vlan_tag = 0; continue; } #endif ether_input(ifp, eh, m); } ---- Thanks, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message