Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/udp.4
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
Only one value is supported for this option: | Only one value is supported for this option: | ||||
.Tn UDP_ENCAP_ESPINUDP | .Tn UDP_ENCAP_ESPINUDP | ||||
from RFC 3948, defined in | from RFC 3948, defined in | ||||
.In netinet/udp.h . | .In netinet/udp.h . | ||||
.Sh MIB VARIABLES | .Sh MIB VARIABLES | ||||
The | The | ||||
.Nm | .Nm | ||||
protocol implements a number of variables in the | protocol implements a number of variables in the | ||||
.Li net.inet | .Va net.inet.udp | ||||
branch of the | branch of the | ||||
.Xr sysctl 3 | .Xr sysctl 3 | ||||
MIB. | MIB: | ||||
.Bl -tag -width UDPCTL_RECVSPACEX | .Bl -tag -width ".Va log_in_vain" | ||||
.It UDPCTL_CHECKSUM | .It Va checksum | ||||
.Pq udp.checksum | |||||
Enable udp checksums (enabled by default). | Enable udp checksums (enabled by default). | ||||
.It UDPCTL_MAXDGRAM | .It Va maxdgram | ||||
.Pq udp.maxdgram | |||||
Maximum outgoing UDP datagram size | Maximum outgoing UDP datagram size | ||||
.It UDPCTL_RECVSPACE | .It Va recvspace | ||||
.Pq udp.recvspace | |||||
Maximum space for incoming UDP datagrams | Maximum space for incoming UDP datagrams | ||||
.It udp.log_in_vain | .It Va log_in_vain | ||||
For all udp datagrams, to ports on which there is no socket | For all udp datagrams, to ports on which there is no socket | ||||
listening, log the connection attempt (disabled by default). | listening, log the connection attempt (disabled by default). | ||||
.It udp.blackhole | .It Va blackhole | ||||
When a datagram is received on a port where there is no socket | When a datagram is received on a port where there is no socket | ||||
listening, do not return an ICMP port unreachable message. | listening, do not return an ICMP port unreachable message. | ||||
(Disabled by default. | (Disabled by default. | ||||
See | See | ||||
.Xr blackhole 4 . ) | .Xr blackhole 4 . ) | ||||
.El | .El | ||||
.Sh ERRORS | .Sh ERRORS | ||||
A socket operation may fail with one of the following errors returned: | A socket operation may fail with one of the following errors returned: | ||||
Show All 36 Lines |