Home
last modified time | relevance | path

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

/net/netfilter/
A Dxt_policy.c57 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_in() local
62 if (strict && info->len != sp->len) in match_policy_in()
66 pos = strict ? i - sp->len + 1 : 0; in match_policy_in()
72 if (!strict) in match_policy_in()
74 } else if (strict) in match_policy_in()
78 return strict ? 1 : 0; in match_policy_in()
87 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_out() local
95 pos = strict ? i : 0; in match_policy_out()
101 if (!strict) in match_policy_out()
103 } else if (strict) in match_policy_out()
[all …]
A Dutils.c164 bool strict, unsigned short family) in nf_route() argument
171 ret = nf_ip_route(net, dst, fl, strict); in nf_route()
174 ret = nf_ip6_route(net, dst, fl, strict); in nf_route()
/net/mac80211/tests/
A Dchan-mode.c19 bool strict; member
76 .strict = true,
89 .strict = true,
96 .strict = true,
202 if (params->strict) in KUNIT_ARRAY_PARAM_DESC()
/net/ipv6/
A Dnetfilter.c31 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder() local
45 else if (strict) in ip6_route_me_harder()
101 struct flowi *fl, bool strict) in __nf_ip6_route() argument
109 const void *sk = strict ? &fake_sk : NULL; in __nf_ip6_route()
A Droute.c108 int strict);
474 strict) >= 0) in fib6_select_path()
749 int strict) in rt6_score_route() argument
793 if (strict & RT6_LOOKUP_F_REACHABLE) in find_match()
809 int strict; member
849 .strict = strict, in __find_rr_leaf()
890 oif, strict, do_rr, &mpri); in find_rr_leaf()
893 oif, strict, do_rr, &mpri); in find_rr_leaf()
899 oif, strict, do_rr, &mpri); in find_rr_leaf()
2257 int strict = 0; in ip6_pol_route() local
[all …]
A Daddrconf_core.c168 const struct sk_buff *skb, int strict) in eafnosupport_fib6_select_path() argument
A Dping.c43 const struct net_device *dev, int strict) in dummy_ipv6_chk_addr() argument
A Dip6_tunnel.c1498 int strict = (ipv6_addr_type(&p->raddr) & in ip6_tnl_link_config() local
1503 p->link, NULL, strict); in ip6_tnl_link_config()
1566 bool strict) in ip6_tnl0_update() argument
1572 if (strict && in ip6_tnl0_update()
A Ddatagram.c828 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl() local
831 dev, !strict, 0, in ip6_datagram_send_ctl()
A Dip6_vti.c675 int strict = (ipv6_addr_type(&p->raddr) & in vti6_link_config() local
679 p->link, NULL, strict); in vti6_link_config()
A Daddrconf.c1961 const struct net_device *dev, int strict) in ipv6_chk_addr() argument
1964 strict, IFA_F_TENTATIVE); in ipv6_chk_addr()
1980 int strict, u32 banned_flags) in __ipv6_chk_addr_and_flags() argument
2008 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict))) { in __ipv6_chk_addr_and_flags()
2020 int strict, u32 banned_flags) in ipv6_chk_addr_and_flags() argument
2023 strict, banned_flags) ? 1 : 0; in ipv6_chk_addr_and_flags()
2092 struct net_device *dev, int strict) in ipv6_get_ifaddr() argument
2101 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict)) { in ipv6_get_ifaddr()
A Dip6_gre.c1126 int strict = (ipv6_addr_type(&p->raddr) & in ip6gre_tnl_link_config_route() local
1131 p->link, NULL, strict); in ip6gre_tnl_link_config_route()
/net/core/
A Dpage_pool_priv.h12 s32 page_pool_inflight(const struct page_pool *pool, bool strict);
A Dpage_pool.c635 s32 page_pool_inflight(const struct page_pool *pool, bool strict) in page_pool_inflight() argument
643 if (strict) { in page_pool_inflight()
A Dfilter.c6144 int strict = 0; in bpf_ipv6_fib_lookup() local
6166 strict = RT6_LOOKUP_F_HAS_SADDR; in bpf_ipv6_fib_lookup()
6194 strict); in bpf_ipv6_fib_lookup()
6204 err = ipv6_stub->fib6_lookup(net, oif, &fl6, &res, strict); in bpf_ipv6_fib_lookup()
6226 fl6.flowi6_oif != 0, NULL, strict); in bpf_ipv6_fib_lookup()
/net/ipv4/
A Dnetfilter.c88 bool strict __always_unused) in nf_ip_route()
A Dip_tunnel.c1068 int __ip_tunnel_change_mtu(struct net_device *dev, int new_mtu, bool strict) in __ip_tunnel_change_mtu() argument
1081 if (strict) in __ip_tunnel_change_mtu()
A DKconfig51 For details about rp_filter strict and loose mode read
/net/sched/
A Dact_api.c393 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
410 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
A DKconfig395 strict and bandwidth-sharing bands to implement the transmission
719 Say Y here if you want to do traffic policing, i.e. strict

Completed in 84 milliseconds