udp.4 (84306) | udp.4 (117011) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)udp.4 8.1 (Berkeley) 6/5/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)udp.4 8.1 (Berkeley) 6/5/93 |
33.\" $FreeBSD: head/share/man/man4/udp.4 84306 2001-10-01 16:09:29Z ru $ | 33.\" $FreeBSD: head/share/man/man4/udp.4 117011 2003-06-28 23:53:39Z ru $ |
34.\" 35.Dd June 5, 1993 36.Dt UDP 4 37.Os 38.Sh NAME 39.Nm udp 40.Nd Internet User Datagram Protocol 41.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 71system calls may be used). 72.Pp 73.Tn UDP 74address formats are identical to those used by 75.Tn TCP . 76In particular 77.Tn UDP 78provides a port identifier in addition | 34.\" 35.Dd June 5, 1993 36.Dt UDP 4 37.Os 38.Sh NAME 39.Nm udp 40.Nd Internet User Datagram Protocol 41.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 71system calls may be used). 72.Pp 73.Tn UDP 74address formats are identical to those used by 75.Tn TCP . 76In particular 77.Tn UDP 78provides a port identifier in addition |
79to the normal Internet address format. Note that the | 79to the normal Internet address format. 80Note that the |
80.Tn UDP 81port 82space is separate from the 83.Tn TCP 84port space (i.e. a 85.Tn UDP 86port 87may not be 88.Dq connected 89to a 90.Tn TCP | 81.Tn UDP 82port 83space is separate from the 84.Tn TCP 85port space (i.e. a 86.Tn UDP 87port 88may not be 89.Dq connected 90to a 91.Tn TCP |
91port). In addition broadcast | 92port). 93In addition broadcast |
92packets may be sent (assuming the underlying network supports 93this) by using a reserved 94.Dq broadcast address ; 95this address 96is network interface dependent. 97.Pp 98Options at the 99.Tn IP --- 43 unchanged lines hidden (view full) --- 143.Pq udp.recvspace 144Maximum space for incoming UDP datagrams 145.It udp.log_in_vain 146For all udp datagrams, to ports on which there is no socket 147listening, log the connection attempt (disabled by default). 148.It udp.blackhole 149When a datagram is received on a port where there is no socket 150listening, do not return an ICMP port unreachable message. | 94packets may be sent (assuming the underlying network supports 95this) by using a reserved 96.Dq broadcast address ; 97this address 98is network interface dependent. 99.Pp 100Options at the 101.Tn IP --- 43 unchanged lines hidden (view full) --- 145.Pq udp.recvspace 146Maximum space for incoming UDP datagrams 147.It udp.log_in_vain 148For all udp datagrams, to ports on which there is no socket 149listening, log the connection attempt (disabled by default). 150.It udp.blackhole 151When a datagram is received on a port where there is no socket 152listening, do not return an ICMP port unreachable message. |
151(Disabled by default. See | 153(Disabled by default. 154See |
152.Xr blackhole 4 . ) 153.El 154.Sh SEE ALSO 155.Xr getsockopt 2 , 156.Xr recv 2 , 157.Xr send 2 , 158.Xr socket 2 , 159.Xr blackhole 4 , 160.Xr inet 4 , 161.Xr intro 4 , 162.Xr ip 4 163.Sh HISTORY 164The 165.Nm 166protocol appeared in 167.Bx 4.2 . | 155.Xr blackhole 4 . ) 156.El 157.Sh SEE ALSO 158.Xr getsockopt 2 , 159.Xr recv 2 , 160.Xr send 2 , 161.Xr socket 2 , 162.Xr blackhole 4 , 163.Xr inet 4 , 164.Xr intro 4 , 165.Xr ip 4 166.Sh HISTORY 167The 168.Nm 169protocol appeared in 170.Bx 4.2 . |