Lines Matching refs:neigh
25 struct rtnl_neigh *neigh; in nl_cli_neigh_alloc() local
27 neigh = rtnl_neigh_alloc(); in nl_cli_neigh_alloc()
28 if (!neigh) in nl_cli_neigh_alloc()
31 return neigh; in nl_cli_neigh_alloc()
34 void nl_cli_neigh_parse_dst(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_dst() argument
39 a = nl_cli_addr_parse(arg, rtnl_neigh_get_family(neigh)); in nl_cli_neigh_parse_dst()
40 if ((err = rtnl_neigh_set_dst(neigh, a)) < 0) in nl_cli_neigh_parse_dst()
47 void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_lladdr() argument
52 rtnl_neigh_set_lladdr(neigh, a); in nl_cli_neigh_parse_lladdr()
56 void nl_cli_neigh_parse_dev(struct rtnl_neigh *neigh, in nl_cli_neigh_parse_dev() argument
64 rtnl_neigh_set_ifindex(neigh, ival); in nl_cli_neigh_parse_dev()
67 void nl_cli_neigh_parse_family(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_family() argument
75 rtnl_neigh_set_family(neigh, family); in nl_cli_neigh_parse_family()
78 void nl_cli_neigh_parse_state(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_state() argument
86 rtnl_neigh_set_state(neigh, state); in nl_cli_neigh_parse_state()