Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

void rtnl_htb_set_quantum ( struct rtnl_class *  class,
uint32_t  quantum 
)

Set how much bytes to serve from leaf at once of HTB class {use r2q}.

  • class HTB class to be modified.
  • quantum New size in bytes.

Definition at line 473 of file htb.c.

{
      struct rtnl_htb_class *d = htb_class(class);
      if (d == NULL)
            return;

      d->ch_quantum = quantum;
      d->ch_mask |= SCH_HTB_HAS_QUANTUM;
}


Generated by  Doxygen 1.6.0   Back to index