Lines Matching refs:a_peer
150 nl_addr_put(addr->a_peer); in addr_free_data()
168 if (src->a_peer) in addr_clone()
169 if (!(dst->a_peer = nl_addr_clone(src->a_peer))) in addr_clone()
259 addr->a_peer = nl_addr_alloc_attr(tb[IFA_ADDRESS], family); in addr_msg_parser()
261 addr->a_peer = nl_addr_build(family, &null, sizeof (null)); in addr_msg_parser()
262 if (!addr->a_peer) in addr_msg_parser()
265 if (!nl_addr_cmp (addr->a_local, addr->a_peer)) { in addr_msg_parser()
272 nl_addr_put(addr->a_peer); in addr_msg_parser()
273 addr->a_peer = NULL; in addr_msg_parser()
302 addr->a_peer = a; in addr_msg_parser()
385 nl_addr2str(addr->a_peer, buf, sizeof(buf))); in addr_dump_line()
477 if (addr->a_peer) in addr_id_attrs_get()
506 && a->a_peer in addr_compare()
507 && b->a_peer in addr_compare()
512 diff |= ADDR_DIFF(PEER, nl_addr_cmp_prefix(a->a_peer, b->a_peer)); in addr_compare()
514 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare()
654 NLA_PUT_ADDR(msg, IFA_ADDRESS, tmpl->a_peer); in build_addr_msg()
936 if (addr->a_peer) in rtnl_addr_set_prefixlen()
937 nl_addr_set_prefixlen(addr->a_peer, prefixlen); in rtnl_addr_set_prefixlen()
1035 err = __assign_addr(addr, &addr->a_peer, peer, ADDR_ATTR_PEER); in rtnl_addr_set_peer()
1046 return addr->a_peer; in rtnl_addr_get_peer()