Lines Matching defs:da
1897 rule_reachable(const struct dstinforeq *da, const struct dstinforeq *db)
1899 if (da->dir_dreachable == db->dir_dreachable)
1901 if (da->dir_dreachable)
1908 rule_matchscope(const struct dstinforeq *da, const struct dstinforeq *db)
1912 da_scope_match = da->dir_dscope == da->dir_sscope;
1924 rule_avoidlinklocal(const struct dstinforeq *da, const struct dstinforeq *db)
1926 if (da->dir_sscope == IP6_SCOPE_LINKLOCAL &&
1927 da->dir_dscope != IP6_SCOPE_LINKLOCAL &&
1932 da->dir_sscope != IP6_SCOPE_LINKLOCAL)
1939 rule_deprecated(const struct dstinforeq *da, const struct dstinforeq *db)
1941 if (da->dir_sdeprecated == db->dir_sdeprecated)
1950 rule_label(const struct dstinforeq *da, const struct dstinforeq *db)
1952 if (da->dir_labelmatch == db->dir_labelmatch)
1954 if (da->dir_labelmatch)
1961 rule_precedence(const struct dstinforeq *da, const struct dstinforeq *db)
1963 if (da->dir_precedence == db->dir_precedence)
1965 if (da->dir_precedence > db->dir_precedence)
1972 rule_native(const struct dstinforeq *da, const struct dstinforeq *db)
1977 if (da->dir_dmactype == db->dir_dmactype)
1980 isatun = da->dir_dmactype == DL_IPV4 || da->dir_dmactype == DL_IPV6;
1992 rule_scope(const struct dstinforeq *da, const struct dstinforeq *db)
1994 if (da->dir_dscope == db->dir_dscope)
1996 if (da->dir_dscope < db->dir_dscope)
2006 rule_prefix(const struct dstinforeq *da, const struct dstinforeq *db)
2011 da_isipv4 = IN6_IS_ADDR_V4MAPPED(&da->dir_daddr);
2021 da_commonbits = ip_addr_commonbits_v6(&da->dir_daddr, &da->dir_saddr);
2038 dstcmp(const void *da, const void *db)
2056 result = (rules[index])(da, db);