77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
# Kconfig.ipv4 - IPv4 Options
|
|
|
|
#
|
|
# Copyright (c) 2016 Intel Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig NET_IPV4
|
|
bool "IPv4"
|
|
help
|
|
Enable IPv4 support. If this is enabled then the device is
|
|
able to send and receive IPv4 network packets.
|
|
|
|
if NET_IPV4
|
|
|
|
config NET_INITIAL_TTL
|
|
int "Initial time to live for a connection"
|
|
default 64
|
|
help
|
|
The value should be > 0
|
|
|
|
config NET_IF_MAX_IPV4_COUNT
|
|
int "Max number of IPv4 network interfaces in the system"
|
|
default NET_VLAN_COUNT if NET_VLAN
|
|
default 1
|
|
help
|
|
This tells how many network interfaces there will be in the system
|
|
that will have IPv4 enabled.
|
|
|
|
config NET_IF_UNICAST_IPV4_ADDR_COUNT
|
|
int "Max number of unicast IPv4 addresses per network interface"
|
|
default 2 if NET_IPV4_AUTO
|
|
default 1
|
|
|
|
config NET_IF_MCAST_IPV4_ADDR_COUNT
|
|
int "Max number of multicast IPv4 addresses per network interface"
|
|
default 1
|
|
|
|
config NET_DHCPV4
|
|
bool "Enable DHCPv4 client"
|
|
depends on NET_IPV4
|
|
|
|
config NET_IPV4_AUTO
|
|
bool "Enable IPv4 autoconfiguration [EXPERIMENTAL]"
|
|
depends on NET_IPV4 && NET_ARP
|
|
help
|
|
Enables IPv4 auto IP address configuration (see RFC 3927)
|
|
|
|
if NET_LOG
|
|
|
|
config NET_DEBUG_IPV4
|
|
bool "Debug core IPv4"
|
|
help
|
|
Enables core IPv4 code part to output debug messages
|
|
|
|
config NET_DEBUG_ICMPV4
|
|
bool "Debug ICMPv4"
|
|
help
|
|
Enables ICMPv4 code part to output debug messages
|
|
|
|
config NET_DEBUG_DHCPV4
|
|
bool "Debug DHCPv4 client"
|
|
depends on NET_DHCPV4
|
|
help
|
|
Enable debug diagnostic from DHCPV4 client.
|
|
|
|
config NET_DEBUG_IPV4_AUTOCONF
|
|
bool "Debug IPv4 autoconf client"
|
|
depends on NET_IPV4_AUTO
|
|
help
|
|
Enable debug diagnostic from IPv4 autoconf client.
|
|
|
|
endif # NET_LOG
|
|
|
|
endif # NET_IPV4
|