Home
last modified time | relevance | path

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

/net/netfilter/
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 …]
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/ipv6/
Dnetfilter.c31 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder() local
43 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()
Droute.c107 int strict);
415 const struct sk_buff *skb, int strict) in fib6_select_path() argument
449 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path()
707 int strict) in rt6_score_route() argument
714 if (!m && (strict & RT6_LOOKUP_F_IFACE)) in rt6_score_route()
719 if ((strict & RT6_LOOKUP_F_REACHABLE) && in rt6_score_route()
729 int oif, int strict, int *mpri, bool *do_rr) in find_match() argument
740 !(strict & RT6_LOOKUP_F_IGNORE_LINKSTATE)) in find_match()
743 m = rt6_score_route(nh, fib6_flags, oif, strict); in find_match()
751 if (strict & RT6_LOOKUP_F_REACHABLE) in find_match()
[all …]
Daddrconf_core.c168 const struct sk_buff *skb, int strict) in eafnosupport_fib6_select_path() argument
Dping.c42 const struct net_device *dev, int strict) in dummy_ipv6_chk_addr() argument
Ddatagram.c822 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl() local
825 dev, !strict, 0, in ip6_datagram_send_ctl()
Dip6_vti.c681 int strict = (ipv6_addr_type(&p->raddr) & in vti6_link_config() local
685 p->link, NULL, strict); in vti6_link_config()
Daddrconf.c1914 const struct net_device *dev, int strict) in ipv6_chk_addr() argument
1917 strict, IFA_F_TENTATIVE); in ipv6_chk_addr()
1933 int strict, u32 banned_flags) in __ipv6_chk_addr_and_flags() argument
1963 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict))) { in __ipv6_chk_addr_and_flags()
1975 int strict, u32 banned_flags) in ipv6_chk_addr_and_flags() argument
1978 strict, banned_flags) ? 1 : 0; in ipv6_chk_addr_and_flags()
2047 struct net_device *dev, int strict) in ipv6_get_ifaddr() argument
2058 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict)) { in ipv6_get_ifaddr()
Dip6_tunnel.c1489 int strict = (ipv6_addr_type(&p->raddr) & in ip6_tnl_link_config() local
1494 p->link, NULL, strict); in ip6_tnl_link_config()
Dip6_gre.c1140 int strict = (ipv6_addr_type(&p->raddr) & in ip6gre_tnl_link_config_route() local
1145 p->link, NULL, strict); in ip6gre_tnl_link_config_route()
/net/ipv4/
Dnetfilter.c88 bool strict __always_unused) in nf_ip_route()
Dip_tunnel.c990 int __ip_tunnel_change_mtu(struct net_device *dev, int new_mtu, bool strict) in __ip_tunnel_change_mtu() argument
1003 if (strict) in __ip_tunnel_change_mtu()
DKconfig51 For details about rp_filter strict and loose mode read
/net/sched/
Dact_api.c161 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
178 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
DKconfig389 strict and bandwidth-sharing bands to implement the transmission
688 Say Y here if you want to do traffic policing, i.e. strict
/net/core/
Dfilter.c5553 int strict = 0; in bpf_ipv6_fib_lookup() local
5575 strict = RT6_LOOKUP_F_HAS_SADDR; in bpf_ipv6_fib_lookup()
5603 strict); in bpf_ipv6_fib_lookup()
5610 err = ipv6_stub->fib6_lookup(net, oif, &fl6, &res, strict); in bpf_ipv6_fib_lookup()
5632 fl6.flowi6_oif != 0, NULL, strict); in bpf_ipv6_fib_lookup()