Home
last modified time | relevance | path

Searched refs:nl_addr_cmp (Results 1 – 23 of 23) sorted by relevance

/third_party/libnl/tests/
Dtest-nf-cache-mngr.c14 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()
Dcheck-addr.c94 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/
Daddr.c265 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()
Dnexthop.c125 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()
Dneigh.c277 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()
Dnh_encap_mpls.c88 diff |= nl_addr_cmp(a->dst, b->dst); in mpls_encap_compare()
Droute_obj.c387 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()
Drule.c338 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()
Dlink.c1128 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/
Daddr.h37 extern int nl_addr_cmp(const struct nl_addr *,
/third_party/libnl/lib/fib_lookup/
Drequest.c70 diff |= REQ_DIFF(ADDR, nl_addr_cmp(a->lr_addr, b->lr_addr)); in request_compare()
/third_party/libnl/lib/netfilter/
Dct_obj.c159 !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()
Dexp_obj.c318 : EXP_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in exp_compare()
/third_party/libnl/
Dlibnl-3.sym31 nl_addr_cmp;
/third_party/libnl/lib/xfrm/
Dsa.c225 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()
Dae.c195 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/
Daddress.py81 diff = capi.nl_addr_cmp(self.local, other.local)
/third_party/libnl/lib/idiag/
Didiag_msg_obj.c881 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/
Dmacvlan.c625 if (nl_addr_cmp(addr, mvi->mvi_macaddr[i]) == 0) { in rtnl_link_macvlan_del_macaddr()
/third_party/libnl/lib/
Daddr.c586 int nl_addr_cmp(const struct nl_addr *a, const struct nl_addr *b) in nl_addr_cmp() function
/third_party/libnl/python/netlink/
Dcore.py694 diff = capi.nl_addr_cmp(self._nl_addr, other._nl_addr)
Dcapi.i449 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
/third_party/libnl/doc/
Dcore.txt2913 function `nl_addr_cmp()` compares two addresses and returns an integer
2922 int nl_addr_cmp(struct nl_addr *addr, struct nl_addr *addr);