summaryrefslogtreecommitdiff
path: root/nuttx/net/arp/Kconfig
blob: 37f25f8e671c52c5d231d074edc1272c0fe3e3b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

menu "ARP Configuration"

config NET_ARP
	bool
	default y if !NET_SLIP
	default n if NET_SLIP
	---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).

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).

config NET_ARP_IPIN
	bool "ARP address harvesting"
	default n
	---help---
		Harvest IP/MAC address mappings from the ARP table
		from incoming IP packets.

config NET_ARP_SEND
	bool "ARP send"
	default n
	depends on EXPERIMENTAL
	---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

endif # NET_ARP_SEND

config NET_ARP_DUMP
	bool "Dump ARP packet header"
	default n
	depends on DEBUG
	---help---
		Dump ARP packets to the SYSLOG device.

endif # NET_ARP
endmenu # ARP Configuration