--- zzzz-none-000/linux-4.9.279/include/net/ip6_route.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-arm-6591-750/linux-4.9.279/include/net/ip6_route.h 2023-02-08 10:58:16.000000000 +0000 @@ -1,3 +1,8 @@ +/* + * 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 @@ -133,13 +138,21 @@ */ struct rt6_info *rt6_get_dflt_router(const struct in6_addr *addr, struct net_device *dev); +extern struct rt6_info * rt6_get_dflt_router_by_table(const struct in6_addr *addr, + struct net_device *dev, u32 table_id); struct rt6_info *rt6_add_dflt_router(const struct in6_addr *gwaddr, struct net_device *dev, unsigned int pref); +extern struct rt6_info * rt6_add_dflt_router_by_table(const struct in6_addr *gwaddr, + struct net_device *dev, + unsigned int pref, 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);