Home
last modified time | relevance | path

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

/third_party/libnl/lib/route/
Dneigh.c181 struct rtnl_neigh *neigh = nl_object_priv(c); in neigh_free_data() local
183 if (!neigh) in neigh_free_data()
186 nl_addr_put(neigh->n_lladdr); in neigh_free_data()
187 nl_addr_put(neigh->n_dst); in neigh_free_data()
209 struct rtnl_neigh *neigh = (struct rtnl_neigh *) obj; in neigh_keygen() local
222 if (neigh->n_family == AF_BRIDGE) { in neigh_keygen()
223 if (neigh->n_lladdr) in neigh_keygen()
224 addr = neigh->n_lladdr; in neigh_keygen()
225 } else if (neigh->n_dst) { in neigh_keygen()
226 addr = neigh->n_dst; in neigh_keygen()
[all …]
/third_party/libnl/src/lib/
Dneigh.c25 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
[all …]
/third_party/libnl/src/
Dnl-neigh-delete.c47 struct rtnl_neigh *neigh = nl_object_priv(obj); in delete_cb() local
57 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0) in delete_cb()
71 struct rtnl_neigh *neigh; in main() local
78 neigh = nl_cli_neigh_alloc(); in main()
111 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
112 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
113 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
114 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
115 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
119 nl_cache_foreach_filter(neigh_cache, OBJ_CAST(neigh), delete_cb, NULL); in main()
Dnl-neigh-list.c42 struct rtnl_neigh *neigh; in main() local
53 neigh = nl_cli_neigh_alloc(); in main()
81 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
82 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
83 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
84 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
85 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
89 nl_cache_dump_filter(neigh_cache, &params, OBJ_CAST(neigh)); in main()
91 rtnl_neigh_put(neigh); in main()
Dnl-neigh-add.c50 struct rtnl_neigh *neigh; in main() local
61 neigh = nl_cli_neigh_alloc(); in main()
93 case 'a': ok++; nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
94 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
95 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
96 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
103 if ((err = rtnl_neigh_add(sock, neigh, nlflags)) < 0) in main()
109 nl_object_dump(OBJ_CAST(neigh), &dp); in main()
D.gitignore33 nl-neigh-add
34 nl-neigh-delete
35 nl-neigh-list
/third_party/ffmpeg/libavcodec/
Dhevc_filter.c650 static int boundary_strength(HEVCContext *s, MvField *curr, MvField *neigh, in boundary_strength() argument
653 if (curr->pred_flag == PF_BI && neigh->pred_flag == PF_BI) { in boundary_strength()
655 …if (s->ref->refPicList[0].list[curr->ref_idx[0]] == neigh_refPicList[0].list[neigh->ref_idx[0]] && in boundary_strength()
657 … neigh_refPicList[0].list[neigh->ref_idx[0]] == neigh_refPicList[1].list[neigh->ref_idx[1]]) { in boundary_strength()
658 … if ((FFABS(neigh->mv[0].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[0].y) >= 4 || in boundary_strength()
659 … FFABS(neigh->mv[1].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[1].y) >= 4) && in boundary_strength()
660 … (FFABS(neigh->mv[1].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[0].y) >= 4 || in boundary_strength()
661 … FFABS(neigh->mv[0].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[1].y) >= 4)) in boundary_strength()
665 …} else if (neigh_refPicList[0].list[neigh->ref_idx[0]] == s->ref->refPicList[0].list[curr->ref_idx… in boundary_strength()
666 … neigh_refPicList[1].list[neigh->ref_idx[1]] == s->ref->refPicList[1].list[curr->ref_idx[1]]) { in boundary_strength()
[all …]
/third_party/ltp/testcases/network/iproute/
Dip_tests.sh132 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable
141 ip neigh show $taddr | head -n1 > tst_ip.out 2>&1
155 ip neigh del $taddr dev $tdev
161 ip neigh show | grep $taddr | grep -v ' FAILED$' > /dev/null
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/libnl/
DBUILD.gn137 "lib/route/neigh.c",
232 "src/lib/neigh.c",
DMakefile.am206 include/netlink/cli/neigh.h \
/third_party/icu/icu4j/perf-tests/data/collation/
Dulyss10.txt3855 look. Still their neigh can be very irritating.
D2drvb10.txt30559 neigh before the head of the Gentiles: shout ye, and sing, and say: