Example #1
0
 public PktPool_STC(STC _stc)
 {
     stc = _stc;
     nqueues = Config.STC_binCount;
     queues = new Queue<Packet>[nqueues];
     for (int i = 0; i < nqueues; i++)
         queues[i] = new Queue<Packet>();
 }
Example #2
0
 public PktPool_STC(STC _stc)
 {
     stc     = _stc;
     nqueues = Config.STC_binCount;
     queues  = new Queue <Packet> [nqueues];
     for (int i = 0; i < nqueues; i++)
     {
         queues[i] = new Queue <Packet>();
     }
 }