Home
last modified time | relevance | path

Searched refs:nl_addr_cmp (Results 1 – 11 of 11) 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()
/external/libnl/lib/route/
Daddr.c251 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser()
491 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare()
492 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare()
493 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, in addr_compare()
495 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); in addr_compare()
496 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)); in addr_compare()
Dneigh.c211 diff |= NEIGH_DIFF(LLADDR, nl_addr_cmp(a->n_lladdr, b->n_lladdr)); in neigh_compare()
212 diff |= NEIGH_DIFF(DST, nl_addr_cmp(a->n_dst, b->n_dst)); in neigh_compare()
482 !nl_addr_cmp(neigh->n_dst, dst)) { in rtnl_neigh_get()
Drule.c295 diff |= RULE_DIFF(SRC, nl_addr_cmp(a->r_src, b->r_src)); in rule_compare()
296 diff |= RULE_DIFF(DST, nl_addr_cmp(a->r_dst, b->r_dst)); in rule_compare()
Dnexthop.c93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
Droute_obj.c374 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); in route_compare()
375 diff |= ROUTE_DIFF(SRC, nl_addr_cmp(a->rt_src, b->rt_src)); in route_compare()
377 diff |= ROUTE_DIFF(PREF_SRC, nl_addr_cmp(a->rt_pref_src, in route_compare()
Dlink.c702 diff |= LINK_DIFF(ADDR, nl_addr_cmp(a->l_addr, b->l_addr)); in link_compare()
703 diff |= LINK_DIFF(BRD, nl_addr_cmp(a->l_bcast, b->l_bcast)); in link_compare()
/external/libnl/include/netlink/
Daddr.h38 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.c156 !nl_addr_cmp(orig_src, reply_dst) && in ct_dump_tuples()
157 !nl_addr_cmp(orig_dst, reply_src)) in ct_dump_tuples()
285 : CT_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in ct_compare()
/external/libnl/lib/
Daddr.c503 int nl_addr_cmp(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp() function