/external/libnl/src/lib/ |
neigh.c | 2 * src/lib/neigh.c CLI Neighbour Helpers 20 #include <netlink/cli/neigh.h> 24 struct rtnl_neigh *neigh; local 26 neigh = rtnl_neigh_alloc(); 27 if (!neigh) 30 return neigh; 33 void nl_cli_neigh_parse_dst(struct rtnl_neigh *neigh, char *arg) 38 a = nl_cli_addr_parse(arg, rtnl_neigh_get_family(neigh)); 39 if ((err = rtnl_neigh_set_dst(neigh, a)) < 0) 46 void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *neigh, char *arg [all...] |
/external/libnl/lib/route/ |
neigh.c | 2 * lib/route/neigh.c Neighbours 14 * @defgroup neigh Neighbours 68 * struct rtnl_neigh *neigh = rtnl_neigh_get(cache, ifindex, dst_addr); 71 * rtnl_neigh_put(neigh); 78 * struct rtnl_neigh *neigh = rtnl_neigh_alloc(); 81 * rtnl_neigh_set_ifindex(neigh, ifindex); 82 * rtnl_neigh_set_dst(neigh, dst_addr); 83 * rtnl_neigh_set_state(neigh, rtnl_neigh_str2state("permanent")); 89 * rtnl_neigh_add(sk, neigh, NLM_F_CREATE); 92 * rtnl_neigh_put(neigh); 174 struct rtnl_neigh *neigh = nl_object_priv(c); local 255 struct rtnl_neigh *neigh; local 388 struct rtnl_neigh *neigh = (struct rtnl_neigh *) obj; local 478 struct rtnl_neigh *neigh; local [all...] |
/external/libnl/src/ |
nl-neigh-delete.c | 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); local 54 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0) 68 struct rtnl_neigh *neigh; local 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 [all...] |
nl-neigh-add.c | 2 * src/ nl-neigh-add.c Add a neighbour 13 #include <netlink/cli/neigh.h> 21 "Usage: nl-neigh-add [OPTION]... NEIGHBOUR\n" 37 " nl-neigh-add --create-only --addr=10.0.0.1 --dev=eth0 \\\n" 47 struct rtnl_neigh *neigh; local 58 neigh = nl_cli_neigh_alloc(); 90 case 'a': ok++; nl_cli_neigh_parse_dst(neigh, optarg); break; 91 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; 92 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; 93 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break [all...] |
nl-neigh-list.c | 2 * src/nl-neigh-list.c List Neighbours 13 #include <netlink/cli/neigh.h> 19 "Usage: nl-neigh-list [OPTION]... [NEIGHBOUR]\n" 39 struct rtnl_neigh *neigh; local 50 neigh = nl_cli_neigh_alloc(); 78 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; 79 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; 80 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; 81 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; 82 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
bgscan_learn.c | 26 u8 *neigh; /* num_neigh * ETH_ALEN buffer */ member in struct:bgscan_learn_bss 47 os_free(bss->neigh); 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); 83 bss->neigh = n; 187 MAC2STR(bss->neigh + i * ETH_ALEN));
|
/external/iproute2/doc/ |
ip-tunnels.tex | 406 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
|
ip-cref.tex | 869 \paragraph{Abbreviations:} \verb|neighbour|, \verb|neighbor|, \verb|neigh|, 883 \paragraph{See also:} Appendix~\ref{PROXY-NEIGH}, p.\pageref{PROXY-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| [all...] |