Home
last modified time | relevance | path

Searched refs:strict (Results 1 – 11 of 11) sorted by relevance

/net/netfilter/
Dxt_policy.c60 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_in() local
65 if (strict && info->len != sp->len) in match_policy_in()
69 pos = strict ? i - sp->len + 1 : 0; in match_policy_in()
75 if (!strict) in match_policy_in()
77 } else if (strict) in match_policy_in()
81 return strict ? 1 : 0; in match_policy_in()
90 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_out() local
97 pos = strict ? i : 0; in match_policy_out()
103 if (!strict) in match_policy_out()
105 } else if (strict) in match_policy_out()
[all …]
/net/ipv6/
Dnetfilter.c111 struct flowi *fl, bool strict) in nf_ip6_route() argument
119 const void *sk = strict ? &fake_sk : NULL; in nf_ip6_route()
Droute.c556 int strict) in rt6_score_route() argument
561 if (!m && (strict & RT6_LOOKUP_F_IFACE)) in rt6_score_route()
566 if (!rt6_check_neigh(rt) && (strict & RT6_LOOKUP_F_REACHABLE)) in rt6_score_route()
571 static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict, in find_match() argument
579 m = rt6_score_route(rt, oif, strict); in find_match()
584 if (strict & RT6_LOOKUP_F_REACHABLE) in find_match()
588 } else if (strict & RT6_LOOKUP_F_REACHABLE) { in find_match()
598 u32 metric, int oif, int strict) in find_rr_leaf() argument
606 match = find_match(rt, oif, strict, &mpri, match); in find_rr_leaf()
609 match = find_match(rt, oif, strict, &mpri, match); in find_rr_leaf()
[all …]
Dping.c77 const struct net_device *dev, int strict) in dummy_ipv6_chk_addr() argument
Ddatagram.c672 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl() local
675 strict ? dev : NULL, 0)) in ip6_datagram_send_ctl()
Dip6_tunnel.c1205 int strict = (ipv6_addr_type(&p->raddr) & in ip6_tnl_link_config() local
1210 p->link, strict); in ip6_tnl_link_config()
Dip6_gre.c984 int strict = (ipv6_addr_type(&p->raddr) & in ip6gre_tnl_link_config() local
989 p->link, strict); in ip6gre_tnl_link_config()
Daddrconf.c1551 const struct net_device *dev, int strict) in ipv6_chk_addr() argument
1565 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict))) { in ipv6_chk_addr()
1618 struct net_device *dev, int strict) in ipv6_get_ifaddr() argument
1629 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict)) { in ipv6_get_ifaddr()
/net/ipv4/
Dnetfilter.c177 struct flowi *fl, bool strict __always_unused) in nf_ip_route()
DKconfig53 For details about rp_filter strict and loose mode read
/net/sched/
DKconfig545 Say Y here if you want to do traffic policing, i.e. strict