/third_party/libnl/tests/ |
D | test-nf-cache-mngr.c | 14 if (!nl_addr_cmp(hack, nfnl_ct_get_src(ct, 1)) || in change_cb() 15 !nl_addr_cmp(hack, nfnl_ct_get_dst(ct, 1))) { in change_cb()
|
D | check-addr.c | 94 fail_if(nl_addr_cmp(addr, addr2), in START_TEST() 129 fail_if(nl_addr_cmp(addr4, clone) != 0, in START_TEST() 170 fail_if(nl_addr_cmp(addr6, clone) != 0, in START_TEST()
|
/third_party/libnl/lib/route/ |
D | addr.c | 265 if (!nl_addr_cmp (addr->a_local, addr->a_peer)) { in addr_msg_parser() 297 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser() 514 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare() 516 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare() 517 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, in addr_compare() 519 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); in addr_compare() 520 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)); in addr_compare() 609 !nl_addr_cmp(a->a_local, addr)) { in rtnl_addr_get()
|
D | nexthop.c | 125 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare() 127 diff |= NH_DIFF(NEWDST, nl_addr_cmp(a->rtnh_newdst, in rtnl_route_nh_compare() 129 diff |= NH_DIFF(VIA, nl_addr_cmp(a->rtnh_via, in rtnl_route_nh_compare()
|
D | neigh.c | 277 diff |= NEIGH_DIFF(LLADDR, nl_addr_cmp(a->n_lladdr, b->n_lladdr)); in neigh_compare() 278 diff |= NEIGH_DIFF(DST, nl_addr_cmp(a->n_dst, b->n_dst)); in neigh_compare() 647 !nl_addr_cmp(neigh->n_dst, dst)) { in rtnl_neigh_get() 673 neigh->n_lladdr && !nl_addr_cmp(neigh->n_lladdr, lladdr)) { in rtnl_neigh_get_by_vlan()
|
D | nh_encap_mpls.c | 88 diff |= nl_addr_cmp(a->dst, b->dst); in mpls_encap_compare()
|
D | route_obj.c | 387 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); in route_compare() 388 diff |= ROUTE_DIFF(SRC, nl_addr_cmp(a->rt_src, b->rt_src)); in route_compare() 390 diff |= ROUTE_DIFF(PREF_SRC, nl_addr_cmp(a->rt_pref_src, in route_compare()
|
D | rule.c | 338 diff |= RULE_DIFF(SRC, nl_addr_cmp(a->r_src, b->r_src)); in rule_compare() 339 diff |= RULE_DIFF(DST, nl_addr_cmp(a->r_dst, b->r_dst)); in rule_compare()
|
D | link.c | 1128 diff |= LINK_DIFF(ADDR, nl_addr_cmp(a->l_addr, b->l_addr)); in link_compare() 1129 diff |= LINK_DIFF(BRD, nl_addr_cmp(a->l_bcast, b->l_bcast)); in link_compare()
|
/third_party/libnl/include/netlink/ |
D | addr.h | 37 extern int nl_addr_cmp(const struct nl_addr *,
|
/third_party/libnl/lib/fib_lookup/ |
D | request.c | 70 diff |= REQ_DIFF(ADDR, nl_addr_cmp(a->lr_addr, b->lr_addr)); in request_compare()
|
/third_party/libnl/lib/netfilter/ |
D | ct_obj.c | 159 !nl_addr_cmp(orig_src, reply_dst) && in ct_dump_tuples() 160 !nl_addr_cmp(orig_dst, reply_src)) in ct_dump_tuples() 313 : CT_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in ct_compare()
|
D | exp_obj.c | 318 : EXP_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in exp_compare()
|
/third_party/libnl/ |
D | libnl-3.sym | 31 nl_addr_cmp;
|
/third_party/libnl/lib/xfrm/ |
D | sa.c | 225 diff |= XFRM_SA_DIFF(DADDR, nl_addr_cmp(a->id.daddr, b->id.daddr)); in xfrm_sa_compare() 228 diff |= XFRM_SA_DIFF(SADDR, nl_addr_cmp(a->saddr, b->saddr)); in xfrm_sa_compare() 256 nl_addr_cmp(a->encap->encap_oa, b->encap->encap_oa))); in xfrm_sa_compare() 258 diff |= XFRM_SA_DIFF(COADDR,nl_addr_cmp(a->coaddr, b->coaddr)); in xfrm_sa_compare() 615 !nl_addr_cmp(sa->id.daddr, daddr)) in xfrmnl_sa_get()
|
D | ae.c | 195 diff |= XFRM_AE_DIFF(DADDR, nl_addr_cmp(a->sa_id.daddr, b->sa_id.daddr)); in xfrm_ae_compare() 198 diff |= XFRM_AE_DIFF(SADDR, nl_addr_cmp(a->saddr, b->saddr)); in xfrm_ae_compare()
|
/third_party/libnl/python/netlink/route/ |
D | address.py | 81 diff = capi.nl_addr_cmp(self.local, other.local)
|
/third_party/libnl/lib/idiag/ |
D | idiag_msg_obj.c | 881 diff |= _DIFF(SRC, nl_addr_cmp (a->idiag_src, b->idiag_src)); in idiagnl_compare() 882 diff |= _DIFF(DST, nl_addr_cmp (a->idiag_dst, b->idiag_dst)); in idiagnl_compare()
|
/third_party/libnl/lib/route/link/ |
D | macvlan.c | 625 if (nl_addr_cmp(addr, mvi->mvi_macaddr[i]) == 0) { in rtnl_link_macvlan_del_macaddr()
|
/third_party/libnl/lib/ |
D | addr.c | 586 int nl_addr_cmp(const struct nl_addr *a, const struct nl_addr *b) in nl_addr_cmp() function
|
/third_party/libnl/python/netlink/ |
D | core.py | 694 diff = capi.nl_addr_cmp(self._nl_addr, other._nl_addr)
|
D | capi.i | 449 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
|
/third_party/libnl/doc/ |
D | core.txt | 2913 function `nl_addr_cmp()` compares two addresses and returns an integer 2922 int nl_addr_cmp(struct nl_addr *addr, struct nl_addr *addr);
|