@@ -300,7 +300,7 @@ struct net_offload;
300
300
#endif /* CONFIG_NET_OFFLOAD */
301
301
302
302
/** @cond INTERNAL_HIDDEN */
303
- #if defined(CONFIG_NET_NATIVE_IPV6 )
303
+ #if defined(CONFIG_NET_IPV6 )
304
304
#define NET_IF_MAX_IPV6_ADDR CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT
305
305
#define NET_IF_MAX_IPV6_MADDR CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT
306
306
#define NET_IF_MAX_IPV6_PREFIX CONFIG_NET_IF_IPV6_PREFIX_COUNT
@@ -422,7 +422,7 @@ struct net_if_dhcpv6 {
422
422
#endif /* defined(CONFIG_NET_DHCPV6) && defined(CONFIG_NET_NATIVE_IPV6) */
423
423
424
424
/** @cond INTERNAL_HIDDEN */
425
- #if defined(CONFIG_NET_NATIVE_IPV4 )
425
+ #if defined(CONFIG_NET_IPV4 )
426
426
#define NET_IF_MAX_IPV4_ADDR CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT
427
427
#define NET_IF_MAX_IPV4_MADDR CONFIG_NET_IF_MCAST_IPV4_ADDR_COUNT
428
428
#else
@@ -542,11 +542,11 @@ struct net_if_ipv4_autoconf {
542
542
* @brief Network interface IP address configuration.
543
543
*/
544
544
struct net_if_ip {
545
- #if defined(CONFIG_NET_NATIVE_IPV6 )
545
+ #if defined(CONFIG_NET_IPV6 )
546
546
struct net_if_ipv6 * ipv6 ;
547
547
#endif /* CONFIG_NET_IPV6 */
548
548
549
- #if defined(CONFIG_NET_NATIVE_IPV4 )
549
+ #if defined(CONFIG_NET_IPV4 )
550
550
struct net_if_ipv4 * ipv4 ;
551
551
#endif /* CONFIG_NET_IPV4 */
552
552
};
@@ -2431,7 +2431,7 @@ bool net_if_ipv4_is_addr_bcast(struct net_if *iface,
2431
2431
* @return Pointer to network interface to use, NULL if no suitable interface
2432
2432
* could be found.
2433
2433
*/
2434
- #if defined(CONFIG_NET_NATIVE_IPV4 )
2434
+ #if defined(CONFIG_NET_IPV4 )
2435
2435
struct net_if * net_if_ipv4_select_src_iface (const struct in_addr * dst );
2436
2436
#else
2437
2437
static inline struct net_if * net_if_ipv4_select_src_iface (
@@ -2454,7 +2454,7 @@ static inline struct net_if *net_if_ipv4_select_src_iface(
2454
2454
* @return Pointer to IPv4 address to use, NULL if no IPv4 address
2455
2455
* could be found.
2456
2456
*/
2457
- #if defined(CONFIG_NET_NATIVE_IPV4 )
2457
+ #if defined(CONFIG_NET_IPV4 )
2458
2458
const struct in_addr * net_if_ipv4_select_src_addr (struct net_if * iface ,
2459
2459
const struct in_addr * dst );
2460
2460
#else
0 commit comments