1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/tools/regression/netinet
George V. Neville-Neil e162ea60d4 Add a queue to hold packets while we await an ARP reply.
When a fast machine first brings up some non TCP networking program
it is quite possible that we will drop packets due to the fact that
only one packet can be held per ARP entry.  This leads to packets
being missed when a program starts or restarts if the ARP data is
not currently in the ARP cache.

This code adds a new sysctl, net.link.ether.inet.maxhold, which defines
a system wide maximum number of packets to be held in each ARP entry.
Up to maxhold packets are queued until an ARP reply is received or
the ARP times out.  The default setting is the old value of 1
which has been part of the BSD networking code since time
immemorial.

Expose the time we hold an incomplete ARP entry by adding
the sysctl net.link.ether.inet.wait, which defaults to 20
seconds, the value used when the new ARP code was added..

Reviewed by:	bz, rpaulo
MFC after: 3 weeks
2010-11-12 22:03:02 +00:00
..
arphold Add a queue to hold packets while we await an ARP reply. 2010-11-12 22:03:02 +00:00
ip_id_period This is a regression test to verify the proper behavior of IP ID generation 2008-02-06 15:48:43 +00:00
ipbroadcast Add raw IP support (protocol 114) to ipbroadcast regression test. 2007-03-13 23:36:48 +00:00
ipmulticast Add regression test for SSM code. 2007-06-12 16:29:22 +00:00
ipsockopt Import rewrite of IPv4 socket multicast layer to support source-specific 2007-06-12 16:24:56 +00:00
msocket
msocket_ifnet_remove
rawconnect
tcpconnect Convert errx(-1, ..., strerror(errno)) to err(-1, ...). 2007-11-28 20:38:05 +00:00
tcpdrop
tcpfullwindowrst
tcpsockclosebeforeaccept
tcpsocktimewait
tcpstream
udpconnectjail
udpzerobyte Update udpzerobyte to understand that passing 0 as a length to recv(2) 2008-10-07 21:01:23 +00:00