diff options
-rw-r--r-- | share/man/man4/divert.4 | 3 | ||||
-rw-r--r-- | share/man/man4/icmp.4 | 3 | ||||
-rw-r--r-- | share/man/man4/ifmib.4 | 3 | ||||
-rw-r--r-- | share/man/man4/ip.4 | 4 | ||||
-rw-r--r-- | share/man/man4/ipfirewall.4 | 5 | ||||
-rw-r--r-- | share/man/man4/netintro.4 | 6 | ||||
-rw-r--r-- | share/man/man4/route.4 | 4 | ||||
-rw-r--r-- | share/man/man4/tcp.4 | 3 | ||||
-rw-r--r-- | share/man/man4/ttcp.4 | 3 | ||||
-rw-r--r-- | share/man/man4/udp.4 | 3 |
10 files changed, 26 insertions, 11 deletions
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4 index 43899198f3f1..ca0f1bf8202d 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 f9fe2693b7ce..e00522759f67 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 6cefaffd5b86..5efddb3e2038 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 97cd9b3e41fb..bda42b923ea6 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 1f3ff736fcb8..af601e9f7442 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 80ea1c47dc2d..262332085c40 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 406551090e85..ebac573ea576 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 f8e1e9bde78f..a1c7bb35f08f 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 d70c43e9d004..7d84c44e0645 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 12f8c0ac49af..05656faef05a 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 |