Fixed missing #include(s) (mostly of <sys/types.h> in synopsis).

Reviewed by:	wollman
This commit is contained in:
Bruce Evans 1997-03-19 19:47:43 +00:00
parent 433671e348
commit ddbd069887
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24048
10 changed files with 26 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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

View file

@ -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.

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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