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

uint64_t rtnl_qdisc_get_stat ( struct rtnl_qdisc *  qdisc,
enum rtnl_tc_stats_id  id 
)

Get the statistic specified by the id

  • qdisc qdisc handle
  • id statistic id
    Returns:
    The current counter of the specified statistic

Definition at line 799 of file qdisc.c.

{
      return tca_get_stat((struct rtnl_tca *) qdisc, id);
}


Generated by  Doxygen 1.6.0   Back to index