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

int rtnl_link_str2stat ( const char *  name  ) 

Convert a character string to a link statistic

  • name name of link statistic
Converts the provided character string specifying a link statistic to the corresponding numeric value.

Link statistic or a negative value if none was found.

Definition at line 994 of file link.c.

      return __str2type(name, link_stats, ARRAY_SIZE(link_stats));

Generated by  Doxygen 1.6.0   Back to index