Home
last modified time | relevance | path

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

/external/libnl/tests/
Dtest-nf-cache-mngr.c12 if (!nl_addr_cmp(hack, nfnl_ct_get_src(ct, 1)) || in change_cb()
13 !nl_addr_cmp(hack, nfnl_ct_get_dst(ct, 1))) { in change_cb()
Dcheck-addr.c92 fail_if(nl_addr_cmp(addr, addr2), in START_TEST()
127 fail_if(nl_addr_cmp(addr4, clone) != 0, in START_TEST()
168 fail_if(nl_addr_cmp(addr6, clone) != 0, in START_TEST()
/external/libnl/lib/route/
Daddr.c262 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser()
445 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare()
446 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare()
447 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, in addr_compare()
449 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); in addr_compare()
450 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)); in addr_compare()
537 !nl_addr_cmp(a->a_local, addr)) { in rtnl_addr_get()
Dneigh.c268 diff |= NEIGH_DIFF(LLADDR, nl_addr_cmp(a->n_lladdr, b->n_lladdr)); in neigh_compare()
269 diff |= NEIGH_DIFF(DST, nl_addr_cmp(a->n_dst, b->n_dst)); in neigh_compare()
547 !nl_addr_cmp(neigh->n_dst, dst)) { in rtnl_neigh_get()
Dnexthop.c93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
Drule.c266 diff |= RULE_DIFF(SRC, nl_addr_cmp(a->r_src, b->r_src)); in rule_compare()
267 diff |= RULE_DIFF(DST, nl_addr_cmp(a->r_dst, b->r_dst)); in rule_compare()
Droute_obj.c363 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); in route_compare()
364 diff |= ROUTE_DIFF(SRC, nl_addr_cmp(a->rt_src, b->rt_src)); in route_compare()
366 diff |= ROUTE_DIFF(PREF_SRC, nl_addr_cmp(a->rt_pref_src, in route_compare()
Dlink.c920 diff |= LINK_DIFF(ADDR, nl_addr_cmp(a->l_addr, b->l_addr)); in link_compare()
921 diff |= LINK_DIFF(BRD, nl_addr_cmp(a->l_bcast, b->l_bcast)); in link_compare()
/external/libnl/include/netlink/
Daddr.h35 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
/external/libnl/lib/fib_lookup/
Drequest.c69 diff |= REQ_DIFF(ADDR, nl_addr_cmp(a->lr_addr, b->lr_addr)); in request_compare()
/external/libnl/lib/netfilter/
Dct_obj.c158 !nl_addr_cmp(orig_src, reply_dst) && in ct_dump_tuples()
159 !nl_addr_cmp(orig_dst, reply_src)) in ct_dump_tuples()
312 : CT_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in ct_compare()
Dexp_obj.c317 : EXP_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in exp_compare()
/external/libnl/python/netlink/route/
Daddress.py81 diff = capi.nl_addr_cmp(self.local, other.local)
/external/libnl/lib/
Daddr.c563 int nl_addr_cmp(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp() function
/external/libnl/python/netlink/
Dcore.py694 diff = capi.nl_addr_cmp(self._nl_addr, other._nl_addr)
Dcapi.i444 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
/external/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);