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

int rtnl_sfq_get_perturb ( struct rtnl_qdisc *  qdisc  ) 

Get perturbation interval of SFQ qdisc.

  • qdisc SFQ qdisc.
    Perturbation interval in seconds or a negative error code.

Definition at line 246 of file sfq.c.

References sfq_qdisc().

      struct rtnl_sfq *sfq;

      sfq = sfq_qdisc(qdisc);
      if (sfq && sfq->qs_mask & SCH_SFQ_ATTR_PERTURB)
            return sfq->qs_perturb;
            return nl_errno(ENOENT);

Generated by  Doxygen 1.6.0   Back to index