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

uint64_t rtnl_class_get_stat ( struct rtnl_class *  class,
enum rtnl_tc_stats_id  id 
)

Get the statistic specified by the id

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

Definition at line 572 of file class.c.

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


Generated by  Doxygen 1.6.0   Back to index