Lines Matching refs:dstinfo

1475 typedef struct dstinfo {
1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
1515 IN6_ARE_ADDR_EQUAL(&bc->cand_srcaddr, dstinfo->dst_addr);
1520 IN6_ARE_ADDR_EQUAL(&cc->cand_srcaddr, dstinfo->dst_addr);
1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
1549 if (cc->cand_scope < dstinfo->dst_scope)
1554 if (bc->cand_scope < dstinfo->dst_scope)
1568 rule_deprecated(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1597 rule_preferred(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1621 rule_interface(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1624 ill_t *dstill = dstinfo->dst_ill;
1627 * If dstinfo->dst_restrict_ill is set, this rule is unnecessary
1630 if (dstinfo->dst_restrict_ill)
1653 rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
1660 ip6_asp_labelcmp(label, dstinfo->dst_label);
1665 cc->cand_matchedlabel = ip6_asp_labelcmp(label, dstinfo->dst_label);
1683 rule_temporary(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1697 if (dstinfo->dst_prefer_src_tmp && cc->cand_istmp)
1699 else if (!dstinfo->dst_prefer_src_tmp && !cc->cand_istmp)
1712 rule_ifprefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1717 bc->cand_mask, *dstinfo->dst_addr);
1722 *dstinfo->dst_addr);
1757 rule_zone_specific(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1782 rule_addr_type(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1807 rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
1811 dstinfo->dst_addr);
1816 dstinfo->dst_addr);
1833 rule_must_be_last(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
1869 dstinfo_t dstinfo;
1918 dstinfo.dst_ill = usesrc_ill;
1929 dstinfo.dst_ill = ipmp_ill;
1933 dstinfo.dst_ill = dstill;
1956 dstinfo.dst_addr = dst;
1957 dstinfo.dst_scope = ip_addr_scope_v6(dst);
1958 dstinfo.dst_label = ip6_asp_lookup(dst, NULL, ipst);
1959 dstinfo.dst_prefer_src_tmp = ((src_prefs & IPV6_PREFER_SRC_TMP) != 0);
1971 dstinfo.dst_restrict_ill = B_TRUE;
1973 dstinfo.dst_restrict_ill = restrict_ill;
1982 if (dstinfo.dst_restrict_ill)
1983 ill = dstinfo.dst_ill;
2080 &dstinfo, ipst);
2129 if (dstinfo.dst_restrict_ill)
2135 dstinfo.dst_ill->ill_name,
2136 inet_ntop(AF_INET6, dstinfo.dst_addr, dstr, sizeof (dstr)),