[Click] ToDevice problem

Roman Chertov rchertov at cs.ucsb.edu
Thu Mar 5 20:08:22 EST 2009


Eddie,

In Element.hh, add_read_handler requires a function pointer as a second 
argument, while add_data_handler requires an integer.  Is 
Handler::OP_READ supposed to resolve into a function pointer?
The Handler::OP_READ | Handler::DEPRECATED made me think it is supposed 
to be just an integer flag.

Also, I tried it with my patch, and it appears to work and I can do `cat 
/click/td/packets/`

Roman

Roman Chertov wrote:
> Eddie Kohler wrote:
>> Roman,
>>
>> That patch is certainly incorrect.  What architecture are you using that 
> 
> This is on a AMD 64 bit CPU.
> 
>> the current code does not compile?  Are you using the git sources?
> 
> This is a freshly cloned git repo.
> 
> 
>> E
>>
>>
>> Roman Chertov wrote:
>>> Eddie,
>>>
>>> In ToDevice this patch needs to be applied; otherwise, the code does 
>>> not compile.
>>>
>>> Thanks,
>>>
>>> Roman
>>>
>>>
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 



More information about the click mailing list