6#ifndef __NETLINK_CLI_LINK_H_
7#define __NETLINK_CLI_LINK_H_
9#include <netlink/route/link.h>
10#include <netlink/cli/utils.h>
16extern struct rtnl_link *nl_cli_link_alloc(
void);
17extern struct nl_cache *nl_cli_link_alloc_cache_family(
struct nl_sock *,
int);
18extern struct nl_cache *nl_cli_link_alloc_cache_family_flags(
struct nl_sock *,
int,
20extern struct nl_cache *nl_cli_link_alloc_cache(
struct nl_sock *);
21extern struct nl_cache *nl_cli_link_alloc_cache_flags(
struct nl_sock *,
24extern void nl_cli_link_parse_family(
struct rtnl_link *,
char *);
25extern void nl_cli_link_parse_name(
struct rtnl_link *,
char *);
26extern void nl_cli_link_parse_mtu(
struct rtnl_link *,
char *);
27extern void nl_cli_link_parse_ifindex(
struct rtnl_link *,
char *);
28extern void nl_cli_link_parse_txqlen(
struct rtnl_link *,
char *);
29extern void nl_cli_link_parse_weight(
struct rtnl_link *,
char *);
30extern void nl_cli_link_parse_ifalias(
struct rtnl_link *,
char *);