2014-05-31 04:44:07 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-05-31 04:44:07 +08:00
|
|
|
#
|
|
|
|
|
2014-06-26 01:01:08 +08:00
|
|
|
menu "ARP Configuration"
|
|
|
|
|
2014-05-31 04:44:07 +08:00
|
|
|
config NET_ARP
|
2022-11-21 11:22:54 +08:00
|
|
|
bool "Address Resolution Protocol"
|
2014-11-15 11:22:45 +08:00
|
|
|
default y
|
2023-05-24 09:28:57 +08:00
|
|
|
select MM_IOB
|
2015-01-15 00:51:09 +08:00
|
|
|
depends on NET_ETHERNET && NET_IPv4
|
2014-05-31 04:44:07 +08:00
|
|
|
---help---
|
|
|
|
This setting is currently overridden by logic in include/nuttx/net
|
|
|
|
|
|
|
|
if NET_ARP
|
|
|
|
|
|
|
|
config NET_ARPTAB_SIZE
|
|
|
|
int "ARP table size"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
The size of the ARP table (in entries).
|
|
|
|
|
2014-07-07 03:04:27 +08:00
|
|
|
config NET_ARP_MAXAGE
|
|
|
|
int "Max ARP entry age"
|
|
|
|
default 120
|
|
|
|
---help---
|
|
|
|
The maximum age of ARP table entries measured in deciseconds. The
|
|
|
|
default value of 120 corresponds to 20 minutes (BSD default).
|
|
|
|
|
2014-05-31 04:44:07 +08:00
|
|
|
config NET_ARP_IPIN
|
|
|
|
bool "ARP address harvesting"
|
|
|
|
default n
|
|
|
|
---help---
|
2019-02-04 21:24:45 +08:00
|
|
|
Harvest IP/MAC address mappings from the ARP table from incoming
|
|
|
|
IP packets. If this option is selected, CONFIG_NET_ARTAB_SIZE
|
|
|
|
should be large enough to hold the hosts on the network.
|
|
|
|
|
|
|
|
This option is NOT recommended on busy networks with many remote
|
|
|
|
hosts. On such networks the ARP table will be full most of the
|
|
|
|
time and the MAC addresses that you want will get flushed from
|
|
|
|
the table often.
|
2014-05-31 04:44:07 +08:00
|
|
|
|
2014-08-19 04:29:02 +08:00
|
|
|
config NET_ARP_SEND
|
|
|
|
bool "ARP send"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable logic to send ARP requests if the target IP address mapping
|
|
|
|
does not appear in the ARP table.
|
|
|
|
|
|
|
|
if NET_ARP_SEND
|
|
|
|
|
|
|
|
config ARP_SEND_MAXTRIES
|
|
|
|
int "ARP send retries"
|
|
|
|
default 5
|
|
|
|
---help---
|
|
|
|
Send the ARP request this number of times before giving up and
|
|
|
|
deciding that the target IP address is non reachable.
|
|
|
|
|
|
|
|
config ARP_SEND_DELAYMSEC
|
|
|
|
int "ARP re-send delay"
|
|
|
|
default 20
|
|
|
|
---help---
|
|
|
|
Wait this number of milliseconds after sending the ARP request
|
|
|
|
before checking if the IP address mapping is present in the ARP
|
|
|
|
table. This time should be related to the maximum round trip time
|
|
|
|
on the network since it is basically the time from when an ARP
|
|
|
|
request is sent until the response is received.
|
|
|
|
|
|
|
|
endif # NET_ARP_SEND
|
|
|
|
|
2014-08-19 01:08:15 +08:00
|
|
|
config NET_ARP_DUMP
|
|
|
|
bool "Dump ARP packet header"
|
|
|
|
default n
|
2016-06-21 02:44:38 +08:00
|
|
|
depends on DEBUG_NET_INFO
|
2014-08-19 01:08:15 +08:00
|
|
|
---help---
|
|
|
|
Dump ARP packets to the SYSLOG device.
|
|
|
|
|
2024-01-22 10:20:46 +08:00
|
|
|
config NET_ARP_ACD
|
|
|
|
bool "Support of ARP address Address Conflict Detection"
|
|
|
|
default n
|
|
|
|
depends on NET_ARP_SEND
|
|
|
|
---help---
|
|
|
|
Enable Support of ARP address Address Conflict Detection
|
|
|
|
|
2014-05-31 04:44:07 +08:00
|
|
|
endif # NET_ARP
|
2014-06-26 01:01:08 +08:00
|
|
|
endmenu # ARP Configuration
|