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

int rtnl_route_str2table ( const char *  name  ) 

Convert character string to routing table identifier.

  • name Name of routing table.
Converts the provided character string specifying a routing table identifier to the corresponding numeric value.

Returns:
Routing table identifier or a negative value if no match was found.

Definition at line 1251 of file route.c.

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


Generated by  Doxygen 1.6.0   Back to index