BSD 4_3 release
[unix-history] / usr / doc / smm / 15.net / 2.t
CommitLineData
820fca5e 1.\" Copyright (c) 1983,1986 Regents of the University of California.
66f1c552
KM
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
95f51977 5.\" @(#)2.t 6.3 (Berkeley) 6/5/86
66f1c552
KM
6.\"
7.nr H2 1
820fca5e 8.\".ds RH Overview
95c3c83a
MK
9.br
10.ne 2i
66f1c552
KM
11.NH
12\s+2Overview\s0
13.PP
14If we consider
15the International Standards Organization's (ISO)
16Open System Interconnection (OSI) model of
17network communication [ISO81] [Zimmermann80],
18the networking facilities
19described here correspond to a portion of the
20session layer (layer 3) and all of the transport and
21network layers (layers 2 and 1, respectively).
22.PP
23The network layer provides possibly imperfect
24data transport services with minimal addressing
25structure.
26Addressing at this level is normally host to host,
27with implicit or explicit routing optionally supported
28by the communicating agents.
29.PP
30At the transport
31layer the notions of reliable transfer, data sequencing,
32flow control, and service addressing are normally
33included. Reliability is usually managed by
34explicit acknowledgement of data delivered. Failure
35to acknowledge a transfer results in retransmission of
36the data. Sequencing may be handled by tagging
37each message handed to the network layer by a
38\fIsequence number\fP and maintaining
39state at the endpoints of communication to utilize
40received sequence numbers in reordering data which
41arrives out of order.
42.PP
43The session layer facilities may provide forms of
44addressing which are mapped into formats required
45by the transport layer, service authentication
46and client authentication, etc. Various systems
47also provide services such as data encryption and
48address and protocol translation.
49.PP
50The following sections begin by describing some of the common
51data structures and utility routines, then examine
52the internal layering. The contents of each layer
53and its interface are considered. Certain of the
54interfaces are protocol implementation specific. For
55these cases examples have been drawn from the Internet [Cerf78]
56protocol family. Later sections cover routing issues,
57the design of the raw socket interface and other
58miscellaneous topics.