netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
route_utils.c File Reference
#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/route/rtnl.h>
#include <netlink/route/route.h>
Include dependency graph for route_utils.c:

Functions

Routing Table Identifier Translations
int rtnl_route_read_table_names (const char *path)
 
char * rtnl_route_table2str (int table, char *buf, size_t size)
 
int rtnl_route_str2table (const char *name)
 
Routing Protocol Translations
int rtnl_route_read_protocol_names (const char *path)
 
char * rtnl_route_proto2str (int proto, char *buf, size_t size)
 
int rtnl_route_str2proto (const char *name)
 

Routing Metrices Translations

char * rtnl_route_metric2str (int metric, char *buf, size_t size)
 
int rtnl_route_str2metric (const char *name)