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

int rtnl_link_str2flags ( const char *  name  ) 

Convert a character string to a link flag

  • name Name of link flag
Converts the provided character string specifying a link link the corresponding numeric value.

Link flag or a negative value if none was found.

Definition at line 930 of file link.c.

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

Generated by  Doxygen 1.6.0   Back to index