summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-19 19:47:43 +0000
committerbde <bde@FreeBSD.org>1997-03-19 19:47:43 +0000
commita78ab833295ca8c18ce65c05c7504fea984571fd (patch)
tree9774477250d210ce5530a463f392caa021d2a849 /share/man
parent0e6987f95b41e8595536e877ec50562cb3da1127 (diff)
downloadFreeBSD-src-a78ab833295ca8c18ce65c05c7504fea984571fd.zip
FreeBSD-src-a78ab833295ca8c18ce65c05c7504fea984571fd.tar.gz
Fixed missing #include(s) (mostly of <sys/types.h> in synopsis).
Reviewed by: wollman
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/divert.43
-rw-r--r--share/man/man4/icmp.43
-rw-r--r--share/man/man4/ifmib.43
-rw-r--r--share/man/man4/ip.44
-rw-r--r--share/man/man4/ipfirewall.45
-rw-r--r--share/man/man4/netintro.46
-rw-r--r--share/man/man4/route.44
-rw-r--r--share/man/man4/tcp.43
-rw-r--r--share/man/man4/ttcp.43
-rw-r--r--share/man/man4/udp.43
10 files changed, 26 insertions, 11 deletions
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4
index 4389919..ca0f1bf 100644
--- a/share/man/man4/divert.4
+++ b/share/man/man4/divert.4
@@ -1,4 +1,4 @@
-.\" $Id$
+.\" $Id: divert.4,v 1.7 1997/02/22 13:24:27 peter Exp $
.\"
.Dd June 18, 1996
.Dt DIVERT 4
@@ -7,6 +7,7 @@
.Nm divert
.Nd kernel packet diversion mechanism
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index f9fe269..e005227 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)icmp.4 8.1 (Berkeley) 6/5/93
-.\" $Id$
+.\" $Id: icmp.4,v 1.5 1997/02/22 13:24:30 peter Exp $
.\"
.Dd June 5, 1993
.Dt ICMP 4
@@ -39,6 +39,7 @@
.Nm icmp
.Nd Internet Control Message Protocol
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
diff --git a/share/man/man4/ifmib.4 b/share/man/man4/ifmib.4
index 6cefaff..5efddb3 100644
--- a/share/man/man4/ifmib.4
+++ b/share/man/man4/ifmib.4
@@ -25,7 +25,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: ifmib.4,v 1.6 1997/02/22 13:24:31 peter Exp $
.\"
.Dd November 15, 1996
.Dt IFMIB 4
@@ -37,6 +37,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <sys/sysctl.h>
+.Fd #include <sys/time.h>
.Fd #include <net/if.h>
.Fd #include <net/if_mib.h>
.Sh DESCRIPTION
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 97cd9b3..bda42b9 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
-.\" $Id$
+.\" $Id: ip.4,v 1.8 1997/02/22 13:24:34 peter Exp $
.\"
.Dd November 30, 1993
.Dt IP 4
@@ -39,6 +39,7 @@
.Nm ip
.Nd Internet Protocol
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
@@ -344,6 +345,7 @@ and may be used only with the
.Dv SOCK_RAW
type.
.Bd -literal
+#include <netinet/in_systm.h>
#include <netinet/ip.h>
int hincl = 1; /* 1 = on, 0 = off */
diff --git a/share/man/man4/ipfirewall.4 b/share/man/man4/ipfirewall.4
index 1f3ff73..af601e9 100644
--- a/share/man/man4/ipfirewall.4
+++ b/share/man/man4/ipfirewall.4
@@ -1,5 +1,5 @@
.\"
-.\" $Id$
+.\" $Id: ipfirewall.4,v 1.8 1997/03/07 02:49:27 jmg Exp $
.\"
.Dd November 16, 1994
.Dt IPFIREWALL 4
@@ -11,6 +11,9 @@
.Nm ipacct
.Nd IP packet filter and traffic accounting.
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/queue.h>
+.Fd #include <netinet/in.h>
.Fd #include <netinet/ip_fw.h>
.Ft int
.Fn setsockopt raw_socket IPPROTO_IP "ipfw/ipacct option" "struct ip | struct ipfw" size
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4
index 80ea1c4..2623320 100644
--- a/share/man/man4/netintro.4
+++ b/share/man/man4/netintro.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)netintro.4 8.2 (Berkeley) 11/30/93
-.\" $Id$
+.\" $Id: netintro.4,v 1.7 1997/02/22 13:24:38 peter Exp $
.\"
.Dd November 30, 1993
.Dt NETINTRO 4
@@ -39,9 +39,11 @@
.Nm networking
.Nd introduction to networking facilities
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/time.h>
.Fd #include <sys/socket.h>
-.Fd #include <net/route.h>
.Fd #include <net/if.h>
+.Fd #include <net/route.h>
.Sh DESCRIPTION
This section is a general introduction to the networking facilities
available in the system.
diff --git a/share/man/man4/route.4 b/share/man/man4/route.4
index 4065510..ebac573 100644
--- a/share/man/man4/route.4
+++ b/share/man/man4/route.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)route.4 8.6 (Berkeley) 4/19/94
-.\" $Id$
+.\" $Id: route.4,v 1.5 1997/02/22 13:24:40 peter Exp $
.\"
.Dd October 8, 1996
.Dt ROUTE 4
@@ -39,6 +39,8 @@
.Nm route
.Nd kernel packet forwarding database
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/time.h>
.Fd #include <sys/socket.h>
.Fd #include <net/if.h>
.Fd #include <net/route.h>
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index f8e1e9b..a1c7bb3 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
-.\" $Id$
+.\" $Id: tcp.4,v 1.8 1997/02/22 13:24:45 peter Exp $
.\"
.Dd February 14, 1995
.Dt TCP 4
@@ -39,6 +39,7 @@
.Nm tcp
.Nd Internet Transmission Control Protocol
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
diff --git a/share/man/man4/ttcp.4 b/share/man/man4/ttcp.4
index d70c43e..7d84c44 100644
--- a/share/man/man4/ttcp.4
+++ b/share/man/man4/ttcp.4
@@ -25,7 +25,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: ttcp.4,v 1.5 1997/02/22 13:24:46 peter Exp $
.\"
.Dd January 18, 1995
.Dt TTCP 4
@@ -34,6 +34,7 @@
.Nm ttcp
.Nd Transmission Control Protocol Extensions for Transactions
.Sh
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Fd #include <netinet/tcp.h>
diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4
index 12f8c0a..05656fa 100644
--- a/share/man/man4/udp.4
+++ b/share/man/man4/udp.4
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)udp.4 8.1 (Berkeley) 6/5/93
-.\" $Id$
+.\" $Id: udp.4,v 1.5 1997/02/22 13:24:51 peter Exp $
.\"
.Dd June 5, 1993
.Dt UDP 4
@@ -39,6 +39,7 @@
.Nm udp
.Nd Internet User Datagram Protocol
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Ft int
OpenPOWER on IntegriCloud