]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/doc/smm/18.net/2.t
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / doc / smm / 18.net / 2.t
1 .\" Copyright (c) 1983, 1986, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)2.t 8.1 (Berkeley) 6/8/93
33 .\"
34 .nr H2 1
35 .\".ds RH Overview
36 .br
37 .ne 2i
38 .NH
39 \s+2Overview\s0
40 .PP
41 If we consider
42 the International Standards Organization's (ISO)
43 Open System Interconnection (OSI) model of
44 network communication [ISO81] [Zimmermann80],
45 the networking facilities
46 described here correspond to a portion of the
47 session layer (layer 3) and all of the transport and
48 network layers (layers 2 and 1, respectively).
49 .PP
50 The network layer provides possibly imperfect
51 data transport services with minimal addressing
52 structure.
53 Addressing at this level is normally host to host,
54 with implicit or explicit routing optionally supported
55 by the communicating agents. 
56 .PP
57 At the transport
58 layer the notions of reliable transfer, data sequencing,
59 flow control, and service addressing are normally
60 included.  Reliability is usually managed by 
61 explicit acknowledgement of data delivered.  Failure
62 to acknowledge a transfer results in retransmission of
63 the data.  Sequencing may be handled by tagging
64 each message handed to the network layer by a
65 \fIsequence number\fP and maintaining
66 state at the endpoints of communication to utilize
67 received sequence numbers in reordering data which
68 arrives out of order.
69 .PP
70 The session layer facilities may provide forms of
71 addressing which are mapped into formats required
72 by the transport layer, service authentication
73 and client authentication, etc.  Various systems
74 also provide services such as data encryption and
75 address and protocol translation.
76 .PP
77 The following sections begin by describing some of the common
78 data structures and utility routines, then examine
79 the internal layering.  The contents of each layer
80 and its interface are considered.  Certain of the
81 interfaces are protocol implementation specific.  For
82 these cases examples have been drawn from the Internet [Cerf78]
83 protocol family.  Later sections cover routing issues,
84 the design of the raw socket interface and other
85 miscellaneous topics.