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

int nl_str2nlfamily ( const char *  name  ) 

Convert character string to netlink family.

  • name Name of netlink family.
Converts the provided character string specifying a netlink family to the corresponding numeric value.

Returns:
Numeric netlink family or a negative value if no match was found.

Definition at line 978 of file nl.c.

{
      return __str2type(name, nlfamilies, ARRAY_SIZE(nlfamilies));
}


Generated by  Doxygen 1.6.0   Back to index