Home
last modified time | relevance | path

Searched refs:neigh (Results 1 – 11 of 11) sorted by relevance

/external/libnl/lib/route/
Dneigh.c174 struct rtnl_neigh *neigh = nl_object_priv(c); in neigh_free_data() local
176 if (!neigh) in neigh_free_data()
179 nl_addr_put(neigh->n_lladdr); in neigh_free_data()
180 nl_addr_put(neigh->n_dst); in neigh_free_data()
255 struct rtnl_neigh *neigh; in neigh_msg_parser() local
260 neigh = rtnl_neigh_alloc(); in neigh_msg_parser()
261 if (!neigh) { in neigh_msg_parser()
266 neigh->ce_msgtype = n->nlmsg_type; in neigh_msg_parser()
273 neigh->n_family = nm->ndm_family; in neigh_msg_parser()
274 neigh->n_ifindex = nm->ndm_ifindex; in neigh_msg_parser()
[all …]
/external/libnl/src/lib/
Dneigh.c24 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
[all …]
/external/libnl/src/
Dnl-neigh-delete.c44 struct rtnl_neigh *neigh = nl_object_priv(obj); in delete_cb() local
54 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0) in delete_cb()
68 struct rtnl_neigh *neigh; in main() local
75 neigh = nl_cli_neigh_alloc(); in main()
108 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
109 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
110 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
111 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
112 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
116 nl_cache_foreach_filter(neigh_cache, OBJ_CAST(neigh), delete_cb, NULL); in main()
Dnl-neigh-list.c39 struct rtnl_neigh *neigh; in main() local
50 neigh = nl_cli_neigh_alloc(); in main()
78 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
79 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
80 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
81 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
82 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
86 nl_cache_dump_filter(neigh_cache, &params, OBJ_CAST(neigh)); in main()
Dnl-neigh-add.c47 struct rtnl_neigh *neigh; in main() local
58 neigh = nl_cli_neigh_alloc(); in main()
90 case 'a': ok++; nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
91 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
92 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
93 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
100 if ((err = rtnl_neigh_add(sock, neigh, nlflags)) < 0) in main()
106 nl_object_dump(OBJ_CAST(neigh), &dp); in main()
DMakefile.am14 nl-neigh-add nl-neigh-delete nl-neigh-list \
59 nl_neigh_add_SOURCES = nl-neigh-add.c
61 nl_neigh_delete_SOURCES = nl-neigh-delete.c
63 nl_neigh_list_SOURCES = nl-neigh-list.c
D.gitignore17 nl-neigh-add
18 nl-neigh-delete
19 nl-neigh-list
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_learn.c26 u8 *neigh; /* num_neigh * ETH_ALEN buffer */ member
47 os_free(bss->neigh); in bss_free()
75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor()
78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor()
83 bss->neigh = n; in bgscan_learn_add_neighbor()
187 MAC2STR(bss->neigh + i * ETH_ALEN)); in bgscan_learn_save()
/external/iproute2/doc/
Darpd.sgml87 on interfaces of interest should be set in <tt>/proc/sys/net/ipv4/neigh/*</tt>.
Dip-tunnels.tex406 echo 0 > /proc/sys/net/ipv4/neigh/Universe/mcast_solicit
410 ip neigh add 10.0.0.2 lladdr 128.6.190.2 dev Universe nud permanent
Dip-cref.tex869 \paragraph{Abbreviations:} \verb|neighbour|, \verb|neighbor|, \verb|neigh|,
927 This option to \verb|ip neigh| does not change the neighbour state if
935 \item \verb|ip neigh add 10.0.0.3 lladdr 0:0:0:0:0:1 dev eth0 nud perm|
939 \item \verb|ip neigh chg 10.0.0.3 dev eth0 nud reachable|
951 \paragraph{Arguments:} The arguments are the same as with \verb|ip neigh add|,
957 \item \verb|ip neigh del 10.0.0.3 dev eth0|
1012 kuznet@alisa:~ $ ip neigh ls
1092 twice, \verb|ip neigh flush| also dumps all the deleted neighbours
2889 with the \verb|ip neigh| command, namely:
2891 ip neigh add proxy ADDRESS [ dev NAME ]
[all …]