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