netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Collaboration diagram for Routing:

Functions

struct rtnl_routenl_cli_route_alloc (void)
 
struct nl_cachenl_cli_route_alloc_cache (struct nl_sock *sk, int flags)
 
void nl_cli_route_parse_family (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_dst (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_src (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_pref_src (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_metric (struct rtnl_route *route, char *subopts)
 
void nl_cli_route_parse_nexthop (struct rtnl_route *route, char *subopts, struct nl_cache *link_cache)
 
void nl_cli_route_parse_table (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_prio (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_scope (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_protocol (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_type (struct rtnl_route *route, char *arg)
 
void nl_cli_route_parse_iif (struct rtnl_route *route, char *arg, struct nl_cache *link_cache)
 

Detailed Description

Function Documentation

struct rtnl_route* nl_cli_route_alloc ( void  )

References nl_cli_fatal(), and rtnl_route_alloc().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

struct nl_cache* nl_cli_route_alloc_cache ( struct nl_sock sk,
int  flags 
)

References nl_cache_mngt_provide(), nl_cli_fatal(), nl_geterror(), and rtnl_route_alloc_cache().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_dst ( struct rtnl_route route,
char *  arg 
)

References nl_addr_put(), nl_cli_addr_parse(), nl_cli_fatal(), nl_geterror(), rtnl_route_get_family(), and rtnl_route_set_dst().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_family ( struct rtnl_route route,
char *  arg 
)

References nl_str2af(), and rtnl_route_set_family().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_iif ( struct rtnl_route route,
char *  arg,
struct nl_cache link_cache 
)

References nl_cli_fatal(), rtnl_link_name2i(), and rtnl_route_set_iif().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_metric ( struct rtnl_route route,
char *  subopts 
)

References nl_cli_fatal(), nl_geterror(), NULL, and rtnl_route_set_metric().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_nexthop ( struct rtnl_route route,
char *  subopts,
struct nl_cache link_cache 
)
void nl_cli_route_parse_pref_src ( struct rtnl_route route,
char *  arg 
)

References nl_addr_put(), nl_cli_addr_parse(), nl_cli_fatal(), nl_geterror(), rtnl_route_get_family(), and rtnl_route_set_pref_src().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_prio ( struct rtnl_route route,
char *  arg 
)

References nl_cli_fatal(), and rtnl_route_set_priority().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_protocol ( struct rtnl_route route,
char *  arg 
)

References nl_cli_fatal(), rtnl_route_set_protocol(), and rtnl_route_str2proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_scope ( struct rtnl_route route,
char *  arg 
)

References nl_cli_fatal(), rtnl_route_set_scope(), and rtnl_str2scope().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_src ( struct rtnl_route route,
char *  arg 
)

References nl_addr_put(), nl_cli_addr_parse(), nl_cli_fatal(), nl_geterror(), rtnl_route_get_family(), and rtnl_route_set_src().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_table ( struct rtnl_route route,
char *  arg 
)

References nl_cli_fatal(), rtnl_route_set_table(), and rtnl_route_str2table().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void nl_cli_route_parse_type ( struct rtnl_route route,
char *  arg 
)

References nl_cli_fatal(), nl_geterror(), nl_str2rtntype(), and rtnl_route_set_type().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: