Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Rename net/nexthop.h net/rtnh.h

The header contains rtnh_ macros so rename the file accordingly.
Allows a later patch to use the nexthop.h name for the new
nexthop code.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

David Ahern and committed by
David S. Miller
3c618c1d 7e5f4cdb

+8 -8
+2 -2
include/net/nexthop.h include/net/rtnh.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef __NET_NEXTHOP_H 3 - #define __NET_NEXTHOP_H 2 + #ifndef __NET_RTNH_H 3 + #define __NET_RTNH_H 4 4 5 5 #include <linux/rtnetlink.h> 6 6 #include <net/netlink.h>
+1 -1
net/core/lwtunnel.c
··· 26 26 #include <net/lwtunnel.h> 27 27 #include <net/rtnetlink.h> 28 28 #include <net/ip6_fib.h> 29 - #include <net/nexthop.h> 29 + #include <net/rtnh.h> 30 30 31 31 #ifdef CONFIG_MODULES 32 32
+1 -1
net/decnet/dn_fib.c
··· 42 42 #include <net/dn_fib.h> 43 43 #include <net/dn_neigh.h> 44 44 #include <net/dn_dev.h> 45 - #include <net/nexthop.h> 45 + #include <net/rtnh.h> 46 46 47 47 #define RT_MIN_TABLE 1 48 48
+1 -1
net/ipv4/fib_semantics.c
··· 43 43 #include <net/ip_fib.h> 44 44 #include <net/ip6_fib.h> 45 45 #include <net/netlink.h> 46 - #include <net/nexthop.h> 46 + #include <net/rtnh.h> 47 47 #include <net/lwtunnel.h> 48 48 #include <net/fib_notifier.h> 49 49 #include <net/addrconf.h>
+1 -1
net/ipv4/ipmr.c
··· 66 66 #include <net/netlink.h> 67 67 #include <net/fib_rules.h> 68 68 #include <linux/netconf.h> 69 - #include <net/nexthop.h> 69 + #include <net/rtnh.h> 70 70 71 71 #include <linux/nospec.h> 72 72
+1 -1
net/ipv6/route.c
··· 59 59 #include <net/xfrm.h> 60 60 #include <net/netevent.h> 61 61 #include <net/netlink.h> 62 - #include <net/nexthop.h> 62 + #include <net/rtnh.h> 63 63 #include <net/lwtunnel.h> 64 64 #include <net/ip_tunnels.h> 65 65 #include <net/l3mdev.h>
+1 -1
net/mpls/af_mpls.c
··· 23 23 #include <net/ipv6.h> 24 24 #endif 25 25 #include <net/ipv6_stubs.h> 26 - #include <net/nexthop.h> 26 + #include <net/rtnh.h> 27 27 #include "internal.h" 28 28 29 29 /* max memory we will use for mpls_route */