--- zzzz-none-000/linux-5.15.111/include/net/ip6_route.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/net/ip6_route.h 2024-02-07 09:28:08.000000000 +0000 @@ -1,4 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Includes Intel Corporation's changes/modifications dated: 2017. + * Changed/modified portions - Copyright (c) 2017, Intel Corporation. + */ + #ifndef _NET_IP6_ROUTE_H #define _NET_IP6_ROUTE_H @@ -176,11 +181,20 @@ const struct in6_addr *gwaddr, struct net_device *dev, unsigned int pref, u32 defrtr_usr_metric); +extern struct fib6_info * rt6_get_dflt_router_by_table(struct net *net, + const struct in6_addr *addr, + struct net_device *dev, u32 table_id); +extern struct fib6_info * rt6_add_dflt_router_by_table(struct net *net, + const struct in6_addr *gwaddr, + struct net_device *dev, unsigned int pref, u32 defrtr_usr_metric, u32 table_id); void rt6_purge_dflt_routers(struct net *net); int rt6_route_rcv(struct net_device *dev, u8 *opt, int len, const struct in6_addr *gwaddr); +extern int rt6_route_rcv_by_table(struct net_device *dev, + u8 *opt, int len, + const struct in6_addr *gwaddr, u32 table_id); void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif, u32 mark, kuid_t uid);