UPSTREAM: 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.

Change-Id: I290ad83aeeecf38cb9b61903b0f75e0a0b269416
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern authored and Nolen Johnson committed 2026-03-20 13:38:03 -04:00
1 parent 59d3ab62a6
commit bce99a2989
6 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_NEXTHOP_H
#define __NET_NEXTHOP_H
#ifndef __NET_RTNH_H
#define __NET_RTNH_H
#include <linux/rtnetlink.h>
#include <net/netlink.h>
+1 -1
View File
@@ -26,7 +26,7 @@
#include <net/lwtunnel.h>
#include <net/rtnetlink.h>
#include <net/ip6_fib.h>
#include <net/nexthop.h>
#include <net/rtnh.h>
#ifdef CONFIG_MODULES
+1 -1
View File
@@ -42,7 +42,7 @@
#include <net/sock.h>
#include <net/ip_fib.h>
#include <net/netlink.h>
#include <net/nexthop.h>
#include <net/rtnh.h>
#include <net/lwtunnel.h>
#include <net/fib_notifier.h>
#include <net/addrconf.h>
+1 -1
View File
@@ -66,7 +66,7 @@
#include <net/netlink.h>
#include <net/fib_rules.h>
#include <linux/netconf.h>
#include <net/nexthop.h>
#include <net/rtnh.h>
#include <net/switchdev.h>
#include <linux/nospec.h>
+1 -1
View File
@@ -60,7 +60,7 @@
#include <net/xfrm.h>
#include <net/netevent.h>
#include <net/netlink.h>
#include <net/nexthop.h>
#include <net/rtnh.h>
#include <net/lwtunnel.h>
#include <net/ip_tunnels.h>
#include <net/l3mdev.h>
+1 -1
View File
@@ -23,7 +23,7 @@
#include <net/ipv6.h>
#endif
#include <net/ipv6_stubs.h>
#include <net/nexthop.h>
#include <net/rtnh.h>
#include "internal.h"
/* max memory we will use for mpls_route */