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

void rtnl_htb_set_defcls ( struct rtnl_qdisc *  qdisc,
uint32_t  defcls 

Set default class of the htb qdisc to the specified value

  • qdisc qdisc to change
  • defcls new default class

Definition at line 368 of file htb.c.

References htb_qdisc().

      struct rtnl_htb_qdisc *d = htb_qdisc(qdisc);
      if (d == NULL)

      d->qh_defcls = defcls;
      d->qh_mask |= SCH_HTB_HAS_DEFCLS;

Generated by  Doxygen 1.6.0   Back to index