summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-09-26 20:58:49 +0000
committerandre <andre@FreeBSD.org>2005-09-26 20:58:49 +0000
commit9e496bb419904d8be631316e98be6f50295a8638 (patch)
treec3b3debc757b8fba15afa3b5faf2a1f0dcb5d352 /share
parent41f17dbd3afa41283a8e6fbc9bfab94dd1b9f428 (diff)
downloadFreeBSD-src-9e496bb419904d8be631316e98be6f50295a8638.zip
FreeBSD-src-9e496bb419904d8be631316e98be6f50295a8638.tar.gz
Document the IP_DONTFRAG IP socket option.
Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ip.416
1 files changed, 15 insertions, 1 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 4e9b1fc..d5da6e1 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -32,7 +32,7 @@
.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
.\" $FreeBSD$
.\"
-.Dd August 22, 2005
+.Dd September 26, 2005
.Dt IP 4
.Os
.Sh NAME
@@ -121,6 +121,20 @@ This option is only really useful when set to 255 preventing packets
from outside the directly connected networks reaching local listeners
on sockets.
.Pp
+.Dv IP_DONTFRAG
+may be used to set the Don't Fragment flag on IP packets.
+Currently this option is respected only on
+.Xr udp 4
+and Raw
+.Xr ip 4
+sockets, unless the IP_HDRINCL option has been set.
+On
+.Xr tcp 4
+sockets the Don't Fragment flag is controlled by the Path
+MTU Discovery option.
+Sending a packet larger than the MTU size of the egress interface,
+determined by the destination address, returns an EMSGSIZE error.
+.Pp
If the
.Dv IP_RECVDSTADDR
option is enabled on a
OpenPOWER on IntegriCloud