[Click] Add headroom keyword to FromDevice?

Eddie Kohler kohler at cs.ucla.edu
Fri Jul 11 15:37:35 EDT 2008


A great idea.  Michael, you're right that in the kernel FromDevice can't 
really have specifiable HEADROOM -- that would require driver changes.  But 
everything else should.  I've checked in a bunch of these; patches welcome.

Eddie


Michael Voorhaen wrote:
> I think that just about any packet generating element from 'Network  
> Devices' and 'Host and Socket Communication' could benefit from this.  
> While i'm not sure about this being possible for the linuxmodule, we  
> could at least try to improve consistency across userlevel elements.
> 
> Regards,
> Michael
> 
> -------------------------
> IBBT - PATS research group
> Dept. of Mathematics and Computer Sciences
> University of Antwerp
> Campus Middelheim, G3.30
> Middelheimlaan 1
> B-2020 Antwerpen, Belgium
> Phone: +32 (0)3 265.32.91
> Fax: +32 (0)3 265.37.77
> Web: www.pats.ua.ac.be/michael.voorhaen
> 
> 
> 
> 
> 
> 
> 
> On 09 Jul 2008, at 15:22, Giovanni Di Stasi wrote:
> 
>> Il Wednesday 09 July 2008 14:43:15 Bart Braem ha scritto:
>>> Dear list,
>>>
>>> We noticed that FromHost has a very useful HEADROOM keyword to  
>>> control
>>> headroom added to new packets. Would it be useful to add the same to
>>> FromDevice? In case of bridging or tunneling setups we think it would
>>> be useful to be able to control HEADROOM in the script.
>>> We will create a patch if other people like this feature as well.
>>>
>>> Regards,
>>> Bart
>> To the FromDevice? Yes, it would be a nice addition. But how about  
>> adding this
>> feature to the FromHost belonging to the LinuxModule?
>>
>> It could be useful when you want to add an extra header to avoid
>> the "expensive pushes". However, I don't know if it is easy to make  
>> this
>> addition (maybe it is necessary to modify the linux kernel, in the  
>> parts
>> where packets are created).
>>
>>
>> -- 
>> Giovanni Di Stasi, Junior Researcher
>> Dipartimento di Informatica e Sistemistica
>> Università degli Studi di Napoli "Federico II"
>> Via Claudio, 21 - 80125 Napoli - Italy
>>
>> Phone:    +39 081 7683821
>> Fax:      +39 081 7683816
>> E-mail:   giovanni.distasi at unina.it
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click




More information about the click mailing list