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

Modules

 Addresses
 
 Connection Tracking
 
 
 Neighbour
 
 Queueing Disciplines
 
 Routing
 
 Routing Rules
 

Functions

uint32_t nl_cli_parse_u32 (const char *arg)
 
void nl_cli_print_version (void)
 
void nl_cli_fatal (int err, const char *fmt,...)
 
int nl_cli_connect (struct nl_sock *sk, int protocol)
 
struct nl_socknl_cli_alloc_socket (void)
 
struct nl_addrnl_cli_addr_parse (const char *str, int family)
 
int nl_cli_parse_dumptype (const char *str)
 
int nl_cli_confirm (struct nl_object *obj, struct nl_dump_params *params, int default_yes)
 
struct nl_cachenl_cli_alloc_cache (struct nl_sock *sock, const char *name, int(*ac)(struct nl_sock *, struct nl_cache **))
 

Detailed Description

Function Documentation

struct nl_cache* nl_cli_alloc_cache ( struct nl_sock sock,
const char *  name,
int(*)(struct nl_sock *, struct nl_cache **)  ac 
)

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

Referenced by main(), and nl_cli_ct_alloc_cache().

Here is the call graph for this function:

Here is the caller graph for this function:

struct nl_sock* nl_cli_alloc_socket ( void  )

References nl_cli_fatal(), nl_socket_alloc(), and sock.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int nl_cli_confirm ( struct nl_object obj,
struct nl_dump_params params,
int  default_yes 
)

References nl_object_dump().

Here is the call graph for this function:

int nl_cli_connect ( struct nl_sock sk,
int  protocol 
)

References nl_cli_fatal(), nl_connect(), and nl_geterror().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int nl_cli_parse_dumptype ( const char *  str)

References nl_cli_fatal(), NL_DUMP_DETAILS, NL_DUMP_ENV, NL_DUMP_LINE, and NL_DUMP_STATS.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t nl_cli_parse_u32 ( const char *  arg)
void nl_cli_print_version ( void  )

Referenced by main().

Here is the caller graph for this function: