Date: Mon, 21 Oct 2002 06:55:50 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c Message-ID: <200210211355.g9LDtoI5066653@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/10/21 06:55:50 PDT
Modified files:
sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c
Log:
Replace in_pcbladdr() with a more generic inner subroutine for
in_pcbconnect() called in_pcbconnect_setup(). This version performs
all of the functions of in_pcbconnect() except for the final
committing of changes to the PCB. In the case of an EADDRINUSE error
it can also provide to the caller the PCB of the duplicate connection,
avoiding an extra in_pcblookup_hash() lookup in tcp_connect().
This change will allow the "temporary connect" hack in udp_output()
to be removed and is part of the preparation for adding the
IP_SENDSRCADDR control message.
Discussed on: -net
Approved by: re
Revision Changes Path
1.113 +121 -84 src/sys/netinet/in_pcb.c
1.56 +3 -2 src/sys/netinet/in_pcb.h
1.83 +12 -14 src/sys/netinet/tcp_usrreq.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210211355.g9LDtoI5066653>
