Lines Matching refs:r_src
52 nl_addr_put(rule->r_src); in rule_free_data()
61 if (src->r_src) in rule_clone()
62 if (!(dst->r_src = nl_addr_clone(src->r_src))) in rule_clone()
117 if (!(rule->r_src = nl_addr_alloc_attr(tb[RTA_SRC], family))) in rule_msg_parser()
119 nl_addr_set_prefixlen(rule->r_src, r->rtm_src_len); in rule_msg_parser()
182 nl_addr2str(r->r_src, buf, sizeof(buf))); in rule_dump_line()
248 nl_addr2str(rule->r_src, buf, sizeof(buf))); in rule_dump_env()
295 diff |= RULE_DIFF(SRC, nl_addr_cmp(a->r_src, b->r_src)); in rule_compare()
423 NLA_PUT_ADDR(msg, RTA_SRC, tmpl->r_src); in build_rule_msg()
631 nl_addr_set_prefixlen(rule->r_src, len); in rtnl_rule_set_src_len()
682 return __assign_addr(rule, &rule->r_src, src, &rule->r_src_len, in rtnl_rule_set_src()
689 return rule->r_src; in rtnl_rule_get_src()