File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2038,7 +2038,7 @@ static inline uint32_t net_if_ipv6_get_retrans_timer(struct net_if *iface)
20382038 * @return Pointer to IPv6 address to use, NULL if no IPv6 address
20392039 * could be found.
20402040 */
2041- #if defined(CONFIG_NET_NATIVE_IPV6 )
2041+ #if defined(CONFIG_NET_IPV6 )
20422042const struct in6_addr * net_if_ipv6_select_src_addr (struct net_if * iface ,
20432043 const struct in6_addr * dst );
20442044#else
@@ -2065,7 +2065,7 @@ static inline const struct in6_addr *net_if_ipv6_select_src_addr(
20652065 * @return Pointer to IPv6 address to use, NULL if no IPv6 address
20662066 * could be found.
20672067 */
2068- #if defined(CONFIG_NET_NATIVE_IPV6 )
2068+ #if defined(CONFIG_NET_IPV6 )
20692069const struct in6_addr * net_if_ipv6_select_src_addr_hint (struct net_if * iface ,
20702070 const struct in6_addr * dst ,
20712071 int flags );
@@ -2090,7 +2090,7 @@ static inline const struct in6_addr *net_if_ipv6_select_src_addr_hint(
20902090 * @return Pointer to network interface to use, NULL if no suitable interface
20912091 * could be found.
20922092 */
2093- #if defined(CONFIG_NET_NATIVE_IPV6 )
2093+ #if defined(CONFIG_NET_IPV6 )
20942094struct net_if * net_if_ipv6_select_src_iface (const struct in6_addr * dst );
20952095#else
20962096static inline struct net_if * net_if_ipv6_select_src_iface (
Original file line number Diff line number Diff line change @@ -2983,6 +2983,8 @@ void net_if_ipv6_set_hop_limit(struct net_if *iface, uint8_t hop_limit)
29832983 net_if_unlock (iface );
29842984}
29852985
2986+ #endif /* CONFIG_NET_NATIVE_IPV6 */
2987+
29862988static uint8_t get_diff_ipv6 (const struct in6_addr * src ,
29872989 const struct in6_addr * dst )
29882990{
@@ -3208,6 +3210,8 @@ struct net_if *net_if_ipv6_select_src_iface(const struct in6_addr *dst)
32083210 return iface ;
32093211}
32103212
3213+ #if defined(CONFIG_NET_NATIVE_IPV6 )
3214+
32113215uint32_t net_if_ipv6_calc_reachable_time (struct net_if_ipv6 * ipv6 )
32123216{
32133217 uint32_t min_reachable , max_reachable ;
You can’t perform that action at this time.
0 commit comments