Modules | |
Addresses | |
Connection Tracking | |
Links | |
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_sock * | nl_cli_alloc_socket (void) |
struct nl_addr * | nl_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_cache * | nl_cli_alloc_cache (struct nl_sock *sock, const char *name, int(*ac)(struct nl_sock *, struct nl_cache **)) |
References nl_addr_parse(), nl_cli_fatal(), and nl_geterror().
Referenced by main(), nl_cli_addr_parse_broadcast(), nl_cli_addr_parse_local(), nl_cli_addr_parse_peer(), nl_cli_ct_parse_dst(), nl_cli_ct_parse_src(), nl_cli_neigh_parse_dst(), nl_cli_neigh_parse_lladdr(), nl_cli_route_parse_dst(), nl_cli_route_parse_nexthop(), nl_cli_route_parse_pref_src(), and nl_cli_route_parse_src().
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().
References nl_cli_fatal(), nl_socket_alloc(), and sock.
Referenced by main().
int nl_cli_confirm | ( | struct nl_object * | obj, |
struct nl_dump_params * | params, | ||
int | default_yes | ||
) |
References nl_cli_fatal(), nl_connect(), and nl_geterror().
Referenced by main().
void nl_cli_fatal | ( | int | err, |
const char * | fmt, | ||
... | |||
) |
Referenced by main(), nl_cli_addr_alloc(), nl_cli_addr_parse(), nl_cli_addr_parse_broadcast(), nl_cli_addr_parse_dev(), nl_cli_addr_parse_label(), nl_cli_addr_parse_local(), nl_cli_addr_parse_peer(), nl_cli_addr_parse_scope(), nl_cli_alloc_cache(), nl_cli_alloc_socket(), nl_cli_connect(), nl_cli_ct_alloc(), nl_cli_ct_parse_dst(), nl_cli_ct_parse_family(), nl_cli_ct_parse_protocol(), nl_cli_ct_parse_src(), nl_cli_ct_parse_status(), nl_cli_ct_parse_tcp_state(), nl_cli_link_alloc(), nl_cli_link_parse_family(), nl_cli_neigh_alloc(), nl_cli_neigh_parse_dev(), nl_cli_neigh_parse_dst(), nl_cli_neigh_parse_family(), nl_cli_neigh_parse_state(), nl_cli_parse_dumptype(), nl_cli_parse_u32(), nl_cli_qdisc_alloc(), nl_cli_qdisc_parse_dev(), nl_cli_qdisc_parse_handle(), nl_cli_qdisc_parse_parent(), nl_cli_route_alloc(), nl_cli_route_alloc_cache(), nl_cli_route_parse_dst(), nl_cli_route_parse_iif(), nl_cli_route_parse_metric(), nl_cli_route_parse_nexthop(), nl_cli_route_parse_pref_src(), nl_cli_route_parse_prio(), nl_cli_route_parse_protocol(), nl_cli_route_parse_scope(), nl_cli_route_parse_src(), nl_cli_route_parse_table(), nl_cli_route_parse_type(), nl_cli_rule_alloc(), and nl_cli_rule_alloc_cache().
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().
uint32_t nl_cli_parse_u32 | ( | const char * | arg | ) |
References nl_cli_fatal().
Referenced by main(), nl_cli_ct_parse_dst_port(), nl_cli_ct_parse_id(), nl_cli_ct_parse_mark(), nl_cli_ct_parse_src_port(), nl_cli_ct_parse_timeout(), nl_cli_ct_parse_use(), nl_cli_link_parse_ifindex(), nl_cli_link_parse_mtu(), nl_cli_link_parse_txqlen(), and nl_cli_link_parse_weight().
void nl_cli_print_version | ( | void | ) |