Searched refs:nl_addr_cmp (Results 1 – 17 of 17) sorted by relevance
/external/libnl/tests/ |
D | test-nf-cache-mngr.c | 12 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()
|
D | check-addr.c | 92 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/ |
D | addr.c | 262 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()
|
D | neigh.c | 268 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()
|
D | nexthop.c | 93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
|
D | rule.c | 266 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()
|
D | route_obj.c | 363 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()
|
D | link.c | 920 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/ |
D | addr.h | 35 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
|
/external/libnl/lib/fib_lookup/ |
D | request.c | 69 diff |= REQ_DIFF(ADDR, nl_addr_cmp(a->lr_addr, b->lr_addr)); in request_compare()
|
/external/libnl/lib/netfilter/ |
D | ct_obj.c | 158 !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()
|
D | exp_obj.c | 317 : EXP_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in exp_compare()
|
/external/libnl/python/netlink/route/ |
D | address.py | 81 diff = capi.nl_addr_cmp(self.local, other.local)
|
/external/libnl/lib/ |
D | addr.c | 563 int nl_addr_cmp(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp() function
|
/external/libnl/python/netlink/ |
D | core.py | 694 diff = capi.nl_addr_cmp(self._nl_addr, other._nl_addr)
|
D | capi.i | 444 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
|
/external/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);
|