aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/ip.4
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2012-05-12 03:25:46 +0000
committerGlen Barber <gjb@FreeBSD.org>2012-05-12 03:25:46 +0000
commit50d922a02e3e29501689308a8c842e27f078faf3 (patch)
tree07b14e981380ee131c889c61fb97e2397d437185 /share/man/man4/ip.4
parent64afb51ccde472372ad4844e11bd45b042204d57 (diff)
downloadsrc-50d922a02e3e29501689308a8c842e27f078faf3.tar.gz
src-50d922a02e3e29501689308a8c842e27f078faf3.zip
General mdoc(7) and typo fixes.
PR: 167776 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
Notes
Notes: svn path=/head/; revision=235317
Diffstat (limited to 'share/man/man4/ip.4')
-rw-r--r--share/man/man4/ip.412
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index cf16d6543928..50a11c38631c 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -215,7 +215,8 @@ before transmission.
This is in contrast to the default behavior of the
system, which is to transmit undirected broadcasts
via the first network interface with the
-.Dv IFF_BROADCAST flag set.
+.Dv IFF_BROADCAST
+flag set.
.Pp
This option allows applications to choose which
interface is used to transmit an undirected broadcast
@@ -235,12 +236,14 @@ sendto(s, msg, sizeof(msg), 0, &sin, sizeof(sin));
.Ed
.Pp
It is the application's responsibility to set the
-.Dv IP_TTL option
+.Dv IP_TTL
+option
to an appropriate value in order to prevent broadcast storms.
The application must have sufficient credentials to set the
.Dv SO_BROADCAST
socket level option, otherwise the
-.Dv IP_ONESBCAST option has no effect.
+.Dv IP_ONESBCAST
+option has no effect.
.Pp
If the
.Dv IP_BINDANY
@@ -851,4 +854,5 @@ Before
packets received on raw IP sockets had the
.Va ip_hl
subtracted from the
-.Va ip_len field.
+.Va ip_len
+field.