Lines Matching refs:link
24 struct rtnl_link *link; in nl_cli_link_alloc() local
26 link = rtnl_link_alloc(); in nl_cli_link_alloc()
27 if (!link) in nl_cli_link_alloc()
30 return link; in nl_cli_link_alloc()
33 void nl_cli_link_parse_family(struct rtnl_link *link, char *arg) in nl_cli_link_parse_family() argument
41 rtnl_link_set_family(link, family); in nl_cli_link_parse_family()
44 void nl_cli_link_parse_name(struct rtnl_link *link, char *arg) in nl_cli_link_parse_name() argument
46 rtnl_link_set_name(link, arg); in nl_cli_link_parse_name()
49 void nl_cli_link_parse_mtu(struct rtnl_link *link, char *arg) in nl_cli_link_parse_mtu() argument
52 rtnl_link_set_mtu(link, mtu); in nl_cli_link_parse_mtu()
55 void nl_cli_link_parse_ifindex(struct rtnl_link *link, char *arg) in nl_cli_link_parse_ifindex() argument
58 rtnl_link_set_ifindex(link, index); in nl_cli_link_parse_ifindex()
61 void nl_cli_link_parse_txqlen(struct rtnl_link *link, char *arg) in nl_cli_link_parse_txqlen() argument
64 rtnl_link_set_txqlen(link, qlen); in nl_cli_link_parse_txqlen()
67 void nl_cli_link_parse_weight(struct rtnl_link *link, char *arg) in nl_cli_link_parse_weight() argument
70 rtnl_link_set_weight(link, weight); in nl_cli_link_parse_weight()