2016-08-24 16:11:58 +08:00
|
|
|
# Kconfig.ipv4 - IPv4 Options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig NET_IPV4
|
|
|
|
bool "IPv4"
|
|
|
|
default n
|
|
|
|
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_UNICAST_IPV4_ADDR_COUNT
|
|
|
|
int "Max number of unicast IPv4 addresses per network interface"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config NET_IF_MCAST_IPV4_ADDR_COUNT
|
|
|
|
int "Max number of multicast IPv4 addresses per network interface"
|
|
|
|
default 1
|
|
|
|
|
2016-09-12 22:12:47 +08:00
|
|
|
config NET_DHCPV4
|
|
|
|
bool "Enable DHCPv4 client"
|
|
|
|
depends on NET_IPV4
|
|
|
|
default n
|
|
|
|
|
2016-08-24 17:58:29 +08:00
|
|
|
if NET_LOG
|
|
|
|
|
|
|
|
config NET_DEBUG_IPV4
|
|
|
|
bool "Debug core IPv4"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enables core IPv4 code part to output debug messages
|
|
|
|
|
|
|
|
config NET_DEBUG_ICMPV4
|
|
|
|
bool "Debug ICMPv4"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enables ICMPv4 code part to output debug messages
|
|
|
|
|
2016-09-12 22:12:47 +08:00
|
|
|
config NET_DEBUG_DHCPV4
|
2016-10-13 21:33:12 +08:00
|
|
|
bool "Debug DHCPv4 client"
|
2016-09-12 22:12:47 +08:00
|
|
|
depends on NET_DHCPV4
|
|
|
|
default n
|
2016-10-13 21:33:12 +08:00
|
|
|
help
|
|
|
|
Enable debug diagnostic from DHCPV4 client.
|
2016-09-12 22:12:47 +08:00
|
|
|
|
2016-08-24 17:58:29 +08:00
|
|
|
endif # NET_LOG
|
|
|
|
|
2016-08-24 16:11:58 +08:00
|
|
|
endif # NET_IPV4
|