提交 3c618c1d 编写于 作者: D David Ahern 提交者: David S. Miller

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: NDavid Ahern <dsahern@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7e5f4cdb
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_NEXTHOP_H #ifndef __NET_RTNH_H
#define __NET_NEXTHOP_H #define __NET_RTNH_H
#include <linux/rtnetlink.h> #include <linux/rtnetlink.h>
#include <net/netlink.h> #include <net/netlink.h>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <net/lwtunnel.h> #include <net/lwtunnel.h>
#include <net/rtnetlink.h> #include <net/rtnetlink.h>
#include <net/ip6_fib.h> #include <net/ip6_fib.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#ifdef CONFIG_MODULES #ifdef CONFIG_MODULES
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <net/dn_fib.h> #include <net/dn_fib.h>
#include <net/dn_neigh.h> #include <net/dn_neigh.h>
#include <net/dn_dev.h> #include <net/dn_dev.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#define RT_MIN_TABLE 1 #define RT_MIN_TABLE 1
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <net/ip_fib.h> #include <net/ip_fib.h>
#include <net/ip6_fib.h> #include <net/ip6_fib.h>
#include <net/netlink.h> #include <net/netlink.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#include <net/lwtunnel.h> #include <net/lwtunnel.h>
#include <net/fib_notifier.h> #include <net/fib_notifier.h>
#include <net/addrconf.h> #include <net/addrconf.h>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
#include <net/netlink.h> #include <net/netlink.h>
#include <net/fib_rules.h> #include <net/fib_rules.h>
#include <linux/netconf.h> #include <linux/netconf.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#include <linux/nospec.h> #include <linux/nospec.h>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include <net/xfrm.h> #include <net/xfrm.h>
#include <net/netevent.h> #include <net/netevent.h>
#include <net/netlink.h> #include <net/netlink.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#include <net/lwtunnel.h> #include <net/lwtunnel.h>
#include <net/ip_tunnels.h> #include <net/ip_tunnels.h>
#include <net/l3mdev.h> #include <net/l3mdev.h>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <net/ipv6.h> #include <net/ipv6.h>
#endif #endif
#include <net/ipv6_stubs.h> #include <net/ipv6_stubs.h>
#include <net/nexthop.h> #include <net/rtnh.h>
#include "internal.h" #include "internal.h"
/* max memory we will use for mpls_route */ /* max memory we will use for mpls_route */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册