Lines Matching refs:da
1889 rule_reachable(const struct dstinforeq *da, const struct dstinforeq *db)
1891 if (da->dir_dreachable == db->dir_dreachable)
1893 if (da->dir_dreachable)
1900 rule_matchscope(const struct dstinforeq *da, const struct dstinforeq *db)
1904 da_scope_match = da->dir_dscope == da->dir_sscope;
1916 rule_avoidlinklocal(const struct dstinforeq *da, const struct dstinforeq *db)
1918 if (da->dir_sscope == IP6_SCOPE_LINKLOCAL &&
1919 da->dir_dscope != IP6_SCOPE_LINKLOCAL &&
1924 da->dir_sscope != IP6_SCOPE_LINKLOCAL)
1931 rule_deprecated(const struct dstinforeq *da, const struct dstinforeq *db)
1933 if (da->dir_sdeprecated == db->dir_sdeprecated)
1942 rule_label(const struct dstinforeq *da, const struct dstinforeq *db)
1944 if (da->dir_labelmatch == db->dir_labelmatch)
1946 if (da->dir_labelmatch)
1953 rule_precedence(const struct dstinforeq *da, const struct dstinforeq *db)
1955 if (da->dir_precedence == db->dir_precedence)
1957 if (da->dir_precedence > db->dir_precedence)
1964 rule_native(const struct dstinforeq *da, const struct dstinforeq *db)
1969 if (da->dir_dmactype == db->dir_dmactype)
1972 isatun = da->dir_dmactype == DL_IPV4 || da->dir_dmactype == DL_IPV6;
1984 rule_scope(const struct dstinforeq *da, const struct dstinforeq *db)
1986 if (da->dir_dscope == db->dir_dscope)
1988 if (da->dir_dscope < db->dir_dscope)
1998 rule_prefix(const struct dstinforeq *da, const struct dstinforeq *db)
2003 da_isipv4 = IN6_IS_ADDR_V4MAPPED(&da->dir_daddr);
2013 da_commonbits = ip_addr_commonbits_v6(&da->dir_daddr, &da->dir_saddr);
2030 dstcmp(const void *da, const void *db)
2048 result = (rules[index])(da, db);