]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Split out most of the logic from in_pcbbind() into a new function
authorIan Dowse <iedowse@FreeBSD.org>
Sun, 20 Oct 2002 21:44:31 +0000 (21:44 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Sun, 20 Oct 2002 21:44:31 +0000 (21:44 +0000)
commit4b932371f4963f1402c4f26e10b1118f1a87ccde
treeceaf77dd17b34312c742dc161a676427954f2c37
parent54f937adb1ad7133ea589c344d26d523b0377420
Split out most of the logic from in_pcbbind() into a new function
called in_pcbbind_setup() that does everything except commit the
changes to the PCB. There should be no functional change here, but
in_pcbbind_setup() will be used by the soon-to-appear IP_SENDSRCADDR
control message implementation to check or allocate the source
address and port.

Discussed on: -net
Approved by: re
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h