| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: netintro.4,v 1.28 2014/07/13 12:47:13 mbalmer Exp $ | | 1 | .\" $NetBSD: netintro.4,v 1.29 2018/08/02 00:41:17 sevan Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1983, 1990, 1991, 1993 | | 3 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)netintro.4 8.2 (Berkeley) 11/30/93 | | 30 | .\" @(#)netintro.4 8.2 (Berkeley) 11/30/93 |
31 | .\" | | 31 | .\" |
32 | .Dd July 13, 2014 | | 32 | .Dd August 2, 2018 |
33 | .Dt NETINTRO 4 | | 33 | .Dt NETINTRO 4 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm netintro | | 36 | .Nm netintro |
37 | .Nd introduction to networking facilities | | 37 | .Nd introduction to networking facilities |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .In sys/types.h | | 39 | .In sys/types.h |
40 | .In sys/socket.h | | 40 | .In sys/socket.h |
41 | .In net/route.h | | 41 | .In net/route.h |
42 | .In net/if.h | | 42 | .In net/if.h |
43 | .Sh DESCRIPTION | | 43 | .Sh DESCRIPTION |
44 | This section is a general introduction to the networking facilities | | 44 | This section is a general introduction to the networking facilities |
45 | available in the system. | | 45 | available in the system. |
| @@ -94,37 +94,32 @@ section of each network interface entry | | | @@ -94,37 +94,32 @@ section of each network interface entry |
94 | of the related drivers for use in providing a system description to the | | 94 | of the related drivers for use in providing a system description to the |
95 | .Xr config 1 | | 95 | .Xr config 1 |
96 | program. | | 96 | program. |
97 | .Pp | | 97 | .Pp |
98 | The | | 98 | The |
99 | .Em DIAGNOSTICS | | 99 | .Em DIAGNOSTICS |
100 | section lists messages which may appear on the console | | 100 | section lists messages which may appear on the console |
101 | and/or in the system error log, | | 101 | and/or in the system error log, |
102 | .Pa /var/log/messages | | 102 | .Pa /var/log/messages |
103 | (see | | 103 | (see |
104 | .Xr syslogd 8 ) , | | 104 | .Xr syslogd 8 ) , |
105 | due to errors in device operation. | | 105 | due to errors in device operation. |
106 | .Sh PROTOCOLS | | 106 | .Sh PROTOCOLS |
107 | The system currently supports the Internet protocols and some of the | | 107 | The system currently supports the Internet protocols. |
108 | .Tn ISO OSI | | | |
109 | protocols. | | | |
110 | Raw socket interfaces are provided to the | | 108 | Raw socket interfaces are provided to the |
111 | .Tn IP | | 109 | .Tn IP |
112 | protocol layer of the Internet, and to the | | 110 | protocol layer of the Internet. |
113 | .Tn IDP | | | |
114 | protocol of Xerox | | | |
115 | .Tn NS . | | | |
116 | Consult the appropriate manual pages in this section for more | | 111 | Consult the appropriate manual pages in this section for more |
117 | information regarding the support for each protocol family. | | 112 | information regarding the support a protocol. |
118 | .Sh ADDRESSING | | 113 | .Sh ADDRESSING |
119 | Associated with each protocol family is an address format. | | 114 | Associated with each protocol family is an address format. |
120 | All network address adhere to a general structure, called a sockaddr, | | 115 | All network address adhere to a general structure, called a sockaddr, |
121 | described below. | | 116 | described below. |
122 | However, each protocol imposes finer and more specific structure, | | 117 | However, each protocol imposes finer and more specific structure, |
123 | generally renaming the variant, which is discussed in the protocol | | 118 | generally renaming the variant, which is discussed in the protocol |
124 | family manual page alluded to above. | | 119 | family manual page alluded to above. |
125 | .Bd -literal -offset indent | | 120 | .Bd -literal -offset indent |
126 | struct sockaddr { | | 121 | struct sockaddr { |
127 | u_char sa_len; | | 122 | u_char sa_len; |
128 | u_char sa_family; | | 123 | u_char sa_family; |
129 | char sa_data[14]; | | 124 | char sa_data[14]; |
130 | }; | | 125 | }; |