--- zzzz-none-000/linux-5.15.111/include/net/addrconf.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/net/addrconf.h 2024-02-07 09:28:08.000000000 +0000 @@ -1,4 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ + /* +Includes Intel Corporation's changes/modifications dated: [2/3/2014]. +Changed/modified portions - Copyright © [2014], Intel Corporation. +*/ #ifndef _ADDRCONF_H #define _ADDRCONF_H @@ -114,6 +118,13 @@ bool inet_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2, bool match_wildcard); bool inet_rcv_saddr_any(const struct sock *sk); + +#ifdef CONFIG_INTEL_NS_DEVICE_FILTER +extern int intel_ipv6_ns_filter(struct net_device *dev, + const struct in6_addr* dst_addr, + unsigned char banned_flags); +#endif + void addrconf_join_solict(struct net_device *dev, const struct in6_addr *addr); void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr); @@ -268,6 +279,8 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len, bool sllao); +void addrconf_prefix_rcv_by_table(struct net_device *dev, + u8 *opt, int len, bool sllao, u32 table_id); /* * anycast prototypes (anycast.c)