cand_t
typedef rule_res_t (*rulef_t)(cand_t *, cand_t *, const dstinfo_t *,
rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
rule_deprecated(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_preferred(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_interface(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
rule_temporary(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_ifprefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_zone_specific(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_addr_type(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst)
rule_must_be_last(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo,
cand_t best_c; /* The best candidate */
cand_t curr_c; /* The current candidate */
bzero(&best_c, sizeof (cand_t));
bzero(&curr_c, sizeof (cand_t));