fib_rules.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) fib_rules.c (cdef485217d30382f3bf6448c54b4401648fe3f1)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. INET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * IPv4 Forwarding Information Base: policy rules.
8 *

--- 127 unchanged lines hidden (view full) ---

136 (struct fib_result *)arg->result,
137 arg->flags);
138
139 rcu_read_unlock();
140 return err;
141}
142
143INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule,
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. INET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * IPv4 Forwarding Information Base: policy rules.
8 *

--- 127 unchanged lines hidden (view full) ---

136 (struct fib_result *)arg->result,
137 arg->flags);
138
139 rcu_read_unlock();
140 return err;
141}
142
143INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule,
144 int flags,
144 struct fib_lookup_arg *arg)
145{
146 struct fib_result *result = (struct fib_result *) arg->result;
147 struct net_device *dev = NULL;
148
149 if (result->fi) {
150 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0);
151

--- 283 unchanged lines hidden ---
145 struct fib_lookup_arg *arg)
146{
147 struct fib_result *result = (struct fib_result *) arg->result;
148 struct net_device *dev = NULL;
149
150 if (result->fi) {
151 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0);
152

--- 283 unchanged lines hidden ---