From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Thu, 20 Sep 2007 11:55:06 +0000 Subject: Re: [LARTC] ifb and ppp Message-Id: <46F25F9A.7010007@trash.net> List-Id: References: <200709191417.43768.mail@frithjof-hammer.de> <46F11E76.8030202@trash.net> <200709192342.03646.mail@frithjof-hammer.de> In-Reply-To: <200709192342.03646.mail@frithjof-hammer.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Frithjof Hammer Cc: lartc@mailman.ds9a.nl, Linux Netdev List , jamal Please keep netdev and myself CCed. Frithjof Hammer wrote: >>Does this patch help? > > > A further examiniation: > [...] > printk ("fri: mein type %x\n",dev->type); > switch (dev->type) { > > [...] > shows this: > > root@router:/usr/src/linux-source-2.6.21# dmesg | grep fri > fri: mein type 1 > > that is defined as ARPHRD_ETHER in include/linux/if_arp.h. > > As far as i understand this means, that my ppp0 device is recognized as > Ethernetinterface. > > Any further help/ideas? I misread the code, the device it looks at in tcf_mirred_init is the target device (ifb). So what it does is check whether the target device wants a link layer header and if it does restores the one from the source device. So currently it seems impossible to get rid of the PPP(oE) header. Jamal, is that how its supposed to work? _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc