summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tty.4
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-10-21 20:10:05 +0000
committeriedowse <iedowse@FreeBSD.org>2002-10-21 20:10:05 +0000
commitf94a5e8a54c64c705cd34cfd49c5a5b9ee23d689 (patch)
tree48a30c5300c4af974317246dce18b075e4367190 /share/man/man4/tty.4
parent687253b085a0885d2a22c1e4c437a522e639d9c0 (diff)
downloadFreeBSD-src-f94a5e8a54c64c705cd34cfd49c5a5b9ee23d689.zip
FreeBSD-src-f94a5e8a54c64c705cd34cfd49c5a5b9ee23d689.tar.gz
Remove the "temporary connection" hack in udp_output(). In order
to send datagrams from an unconnected socket, we used to first block input, then connect the socket to the sendmsg/sendto destination, send the datagram, and finally disconnect the socket and unblock input. We now use in_pcbconnect_setup() to check if a connect() would have succeeded, but we never record the connection in the PCB (local anonymous port allocation is still recorded, though). The result from in_pcbconnect_setup() authorises the sending of the datagram and selects the local address and port to use, so we just construct the header and call ip_output(). Discussed on: -net Approved by: re
Diffstat (limited to 'share/man/man4/tty.4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud