Go to file
thorpej ea9b5a9106 Restructure the Path MTU Discovery code somewhat to avoid
entering rtentry's for hosts we're not actually communicating
with.

Do this by invoking the ctlinput for the protocol, which is
responsible for validating the ICMP message:
	* TCP -- Lookup the connection based on the address/port
	  pairs in the ICMP message.
	* AH/ESP -- Lookup the SA based on the SPI in the ICMP message.

If validation succeeds, ctlinput is responsible for calling
icmp_mtudisc().  icmp_mtudisc() then invokes callbacks registered
by protocols (such as TCP) which want to take some sort of special
action when a path's MTU changes.  For TCP, this is where we now
refresh cached routes and re-enter slow-start.

As a side-effect, this fixes the problem where TCP would not be
notified when a path's MTU changed if AH/ESP were being used.

XXX Note, this is only a fix for the IPv4 case.  For the IPv6
XXX case, we need to wait for the KAME folks.

Reviewed by sommerfeld@netbsd.org and itojun@netbsd.org.
2000-10-18 17:09:14 +00:00
bin
crypto
dist
distrib
etc
games
gnu When setting warn_format to a nonzero value, always use 2000-10-18 13:57:49 +00:00
include
lib Make "f" standout better. 2000-10-18 15:40:52 +00:00
libexec
regress
sbin Don't make references to _10Mb/s_ Ethernet where not appropriate; from 2000-10-18 07:27:11 +00:00
share
sys Restructure the Path MTU Discovery code somewhat to avoid 2000-10-18 17:09:14 +00:00
usr.bin move the -and option in options[] table where it alphabetically belongs, 2000-10-18 08:58:11 +00:00
usr.sbin
Makefile
Makefile.inc
UPDATING