Skip to content

Commit

Permalink
ipv4: update ARPD help text
Browse files Browse the repository at this point in the history
Removed the statements about ARP cache size as this config option does
not affect it. The cache size is controlled by neigh_table gc thresholds.

Remove also expiremental and obsolete markings as the API originally
intended for arp caching is useful for implementing ARP-like protocols
(e.g. NHRP) in user space and has been there for a long enough time.

Signed-off-by: Timo Teras <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
fabled authored and davem330 committed Jun 14, 2009
1 parent 125bb8f commit e61a4b6
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions net/ipv4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -273,29 +273,20 @@ config IP_PIMSM_V2
you want to play with it.

config ARPD
bool "IP: ARP daemon support (EXPERIMENTAL)"
depends on EXPERIMENTAL
bool "IP: ARP daemon support"
---help---
Normally, the kernel maintains an internal cache which maps IP
addresses to hardware addresses on the local network, so that
Ethernet/Token Ring/ etc. frames are sent to the proper address on
the physical networking layer. For small networks having a few
hundred directly connected hosts or less, keeping this address
resolution (ARP) cache inside the kernel works well. However,
maintaining an internal ARP cache does not work well for very large
switched networks, and will use a lot of kernel memory if TCP/IP
connections are made to many machines on the network.

If you say Y here, the kernel's internal ARP cache will never grow
to more than 256 entries (the oldest entries are expired in a LIFO
manner) and communication will be attempted with the user space ARP
daemon arpd. Arpd then answers the address resolution request either
from its own cache or by asking the net.

This code is experimental and also obsolete. If you want to use it,
you need to find a version of the daemon arpd on the net somewhere,
and you should also say Y to "Kernel/User network link driver",
below. If unsure, say N.
The kernel maintains an internal cache which maps IP addresses to
hardware addresses on the local network, so that Ethernet/Token Ring/
etc. frames are sent to the proper address on the physical networking
layer. Normally, kernel uses the ARP protocol to resolve these
mappings.

Saying Y here adds support to have an user space daemon to do this
resolution instead. This is useful for implementing an alternate
address resolution protocol (e.g. NHRP on mGRE tunnels) and also for
testing purposes.

If unsure, say N.

config SYN_COOKIES
bool "IP: TCP syncookie support (disabled per default)"
Expand Down

0 comments on commit e61a4b6

Please sign in to comment.