Lines Matching refs:dstinfo

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