Lines Matching refs:neigh
24 struct rtnl_neigh *neigh; in nl_cli_neigh_alloc() local
26 neigh = rtnl_neigh_alloc(); in nl_cli_neigh_alloc()
27 if (!neigh) in nl_cli_neigh_alloc()
30 return neigh; in nl_cli_neigh_alloc()
33 void nl_cli_neigh_parse_dst(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_dst() argument
38 a = nl_cli_addr_parse(arg, rtnl_neigh_get_family(neigh)); in nl_cli_neigh_parse_dst()
39 if ((err = rtnl_neigh_set_dst(neigh, a)) < 0) in nl_cli_neigh_parse_dst()
46 void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_lladdr() argument
51 rtnl_neigh_set_lladdr(neigh, a); in nl_cli_neigh_parse_lladdr()
55 void nl_cli_neigh_parse_dev(struct rtnl_neigh *neigh, in nl_cli_neigh_parse_dev() argument
63 rtnl_neigh_set_ifindex(neigh, ival); in nl_cli_neigh_parse_dev()
66 void nl_cli_neigh_parse_family(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_family() argument
74 rtnl_neigh_set_family(neigh, family); in nl_cli_neigh_parse_family()
77 void nl_cli_neigh_parse_state(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_state() argument
85 rtnl_neigh_set_state(neigh, state); in nl_cli_neigh_parse_state()