• Home
  • Raw
  • Download

Lines Matching refs:a_local

151 	nl_addr_put(addr->a_local);  in addr_free_data()
172 if (src->a_local) in addr_clone()
173 if (!(dst->a_local = nl_addr_clone(src->a_local))) in addr_clone()
251 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser()
253 addr->a_local = nl_addr_build(family, &null, sizeof (null)); in addr_msg_parser()
254 if (!addr->a_local) in addr_msg_parser()
265 if (!nl_addr_cmp (addr->a_local, addr->a_peer)) { in addr_msg_parser()
277 plen_addr = addr->a_local; in addr_msg_parser()
280 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser()
281 if (!addr->a_local) in addr_msg_parser()
284 plen_addr = addr->a_local; in addr_msg_parser()
297 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser()
298 nl_addr_put(addr->a_local); in addr_msg_parser()
299 addr->a_local = a; in addr_msg_parser()
379 nl_addr2str(addr->a_local, buf, sizeof(buf))); in addr_dump_line()
516 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare()
609 !nl_addr_cmp(a->a_local, addr)) { in rtnl_addr_get()
637 *((char *) nl_addr_get_binary_addr(tmpl->a_local)) == 127) in build_addr_msg()
651 NLA_PUT_ADDR(msg, IFA_LOCAL, tmpl->a_local); in build_addr_msg()
656 NLA_PUT_ADDR(msg, IFA_ADDRESS, tmpl->a_local); in build_addr_msg()
938 else if (addr->a_local) in rtnl_addr_set_prefixlen()
939 nl_addr_set_prefixlen(addr->a_local, prefixlen); in rtnl_addr_set_prefixlen()
1012 err = __assign_addr(addr, &addr->a_local, local, ADDR_ATTR_LOCAL); in rtnl_addr_set_local()
1025 return addr->a_local; in rtnl_addr_get_local()