Does user level Click still work?
Leigh Stoller
stoller at fast.cs.utah.edu
Thu Mar 9 07:20:18 EST 2000
Is userlevel Click still supposed to work?
FromBPF at 1 :: FromBPF(fxp0);
Print at 2 :: Print(ok);
Discard at 3 :: Discard;
FromBPF at 1 -> Print at 2
-> Discard at 3;
This exits immediately. I noticed the following code. Does this mean that a
valid configuration is one in which at least one element is permanently
scheduled?
void
Router::driver()
{
unsigned c = 10000;
ElementLink *fl;
while (fl = scheduled_next(), fl != this && !_please_stop_driver) {
fl->unschedule();
((Element *)fl)->run_scheduled();
if (c-- == 0) {
c = 10000;
wait();
}
}
}
Please let me know what you are intending or what I am missing.
Thanks very much!
Lbs
---------------------------------------------------------------------------
Leigh B. Stoller Computer Science - Flux Research Group
stoller at cs.utah.edu University of Utah
http://www.cs.utah.edu/~stoller Salt Lake City, Utah 84112
Voice: (541) 929-2666 FAX: (801) 585-3743
---------------------------------------------------------------------------
More information about the click
mailing list