ipv4: reset rt_iif for recirculated mcast/bcast out pkts
[linux-block.git] / include / net / route.h
index 96f6c9ae33c2357b1d5c9877c95d8bcd482c18cb..55ff71ffb796acaa3e9e57f73b818dba2305e03d 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * INET                An implementation of the TCP/IP protocol suite for the LINUX
  *             operating system.  INET  is implemented using the  BSD Socket
  *             Alexey Kuznetsov:       Major changes for new routing code.
  *             Mike McLagan    :       Routing by source
  *             Robert Olsson   :       Added rt_cache statistics
- *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
  */
 #ifndef _ROUTE_H
 #define _ROUTE_H
@@ -225,6 +221,7 @@ void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
 struct rtable *rt_dst_alloc(struct net_device *dev,
                             unsigned int flags, u16 type,
                             bool nopolicy, bool noxfrm, bool will_cache);
+struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt);
 
 struct in_ifaddr;
 void fib_add_ifaddr(struct in_ifaddr *);