[Click] background processing?

Nicholas Murphy nmurphy at cs.washington.edu
Fri Jan 26 11:47:44 EST 2007


Managed to get pthreads working, which does roughly what I want to do.

Thanks for the suggestions!

Nick

On Jan 25, 2007, at 11:26 PM, Bart Braem wrote:

> On Thursday 25 January 2007 21:48, Roman Chertov wrote:
>> Nicholas Murphy wrote:
>>> Thanks for the reply.  In a nutshell, here's what I want to do: I'm
>>> including cryptographic signatures in every packet.  I want those
>>> signatures to be verified _eventually_, but I don't want  
>>> verification
>>> to happen synchronously with packet reception.  I just want it to be
>>> a background process that grabs spare cpu cycles.  Unfortunately, I
>>> don't think co-operative multitasking is quite what I want here as I
>>> don't want the verification code, which is potentially long-running,
>>> to interfere with packet processing.
>>
>> Store the packets on disk, in a circular/linear type buffer and then
>> analyze them at your own leisure time.  I've made a post a while ago
>> with the code for device drivers which allow you to do just that.
>
> Or pass them to a second, separate Click instance that runs on a  
> dedicated
> tun/tap device. Then you can buffer packets in Queue elements there  
> like in
> any other Click configuration...
>
> Bart
> -- 
> Bart Braem
> PATS research group
> Dept. of Mathematics and Computer Sciences
> University of Antwerp
> Campus Middelheim, G2.36
> Middelheimlaan 1
> B-2020 Antwerpen, Belgium
> Phone: +32 (0)3 265.35.19
> Fax: +32 (0)3 265.37.77
> Web: www.pats.ua.ac.be
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list