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

void rtnl_htb_set_overhead ( struct rtnl_class *  class,
uint8_t  overhead 
)

Set per-packet size overhead used in rate computations of HTB class.

  • class HTB class to be modified.
  • overhead Size in bytes.

Definition at line 488 of file htb.c.

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

      d->ch_overhead = overhead;
      d->ch_mask |= SCH_HTB_HAS_OVERHEAD;
}


Generated by  Doxygen 1.6.0   Back to index