Lines Matching refs:neigh
2 * src/nl-neigh-delete.c Delete a neighbour
13 #include <netlink/cli/neigh.h>
22 "Usage: nl-neigh-delete [OPTION]... [NEIGHBOUR]\n"
44 struct rtnl_neigh *neigh = nl_object_priv(obj);
54 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0)
68 struct rtnl_neigh *neigh;
75 neigh = nl_cli_neigh_alloc();
108 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break;
109 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break;
110 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break;
111 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break;
112 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break;
116 nl_cache_foreach_filter(neigh_cache, OBJ_CAST(neigh), delete_cb, NULL);