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

int nl_str2nlmsgtype ( const char *  name  ) 

Convert character string to netlink message type.

  • name Name of netlink message type.
Converts the provided character string specifying a netlink message type into the corresponding numeric value

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

Definition at line 600 of file msg.c.

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


Generated by  Doxygen 1.6.0   Back to index