dstinforeq
struct dstinforeq dinfo;
struct dstinforeq *dinfo, *dinfoptr;
if ((dinfo = calloc(addrcount, sizeof (struct dstinforeq))) == NULL)
addrcount * sizeof (struct dstinforeq)) < 0) {
qsort(dinfo, addrcount, sizeof (struct dstinforeq), dstcmp);
typedef int (*rulef_t)(const struct dstinforeq *, const struct dstinforeq *);
rule_reachable(const struct dstinforeq *da, const struct dstinforeq *db)
rule_matchscope(const struct dstinforeq *da, const struct dstinforeq *db)
rule_avoidlinklocal(const struct dstinforeq *da, const struct dstinforeq *db)
rule_deprecated(const struct dstinforeq *da, const struct dstinforeq *db)
rule_label(const struct dstinforeq *da, const struct dstinforeq *db)
rule_precedence(const struct dstinforeq *da, const struct dstinforeq *db)
rule_native(const struct dstinforeq *da, const struct dstinforeq *db)
rule_scope(const struct dstinforeq *da, const struct dstinforeq *db)
rule_prefix(const struct dstinforeq *da, const struct dstinforeq *db)
struct dstinforeq *dir;
end - cur >= sizeof (struct dstinforeq);
cur += sizeof (struct dstinforeq)) {
dir = (struct dstinforeq *)cur;