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

char* rtnl_route_table2str ( int  table,
char *  buf,
size_t  size 
)

Convert routing table identifier to character string.

  • table Routing table identifier.
  • buf Destination buffer
  • size Size of destination buffer.
Converts a routing table identifier to a character string and stores it in the specified destination buffer.

Returns:
The destination buffer or the type encoded in hexidecimal form if the routing table identifier is unknown.

Definition at line 1236 of file route.c.

{
      return __type2str(table, buf, size, route_tables,
                    ARRAY_SIZE(route_tables));
}


Generated by  Doxygen 1.6.0   Back to index