







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A part of the lecture notes for cs/ee5516 computer architecture course at va tech, spring 1994. It covers the implementation of a protocol stack, including the functions of each layer from the physical layer to the application layer.
Typology: Study notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Implentation of Protocol Stack
Application Presentation
Session Transport Network DataLink Control Physical
Subroutine Lib, User Code (in OS Commit Protocol) Subroutine Library System Process Outside OS or Subrotine Lib In Operating System Network Adapter Card MAC (^) MAC Chipset(IEEE802.x)
1
3 2
4
5
6
7 User 7
Libs 7,6,5,4,
OS 7,3,
Hardware 1,
Real Picture
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
-- Service
-- Layered Protocol View
-- Distributed Black Box
-- Protocol = distributed algorithm
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
-- Asynchronous insertion of packets due to:
packet
Asynchronous delay through pipe
packet
layer 2
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Header (^) Layer 2 bits Trailer
Lengthof data
Checksum
-- 3 types --- Data Frame --- Ack Frame --- Piggyback
-- always guarantees ordering
-- usually (not always) guarantees reliability (detect corrupted, lost, duplicated frames)
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Transport
Network
Link 1
Link n
Couldbridge 2 LANs or, be a backbone switch
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Encapsulation:
Transport Hdr Data
Network Hdr
Data plus N-PDU other stuff
Hdr
Network Header
Trailer DH (^) NH TH DT
Data plus other stuff
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3 --- In network layer in subnet node
-- Global problem --- Congestion control/management
-- Techniques --- Buffer management --- Access control to subnet --- Routing to spread load --- Bits in packets to pass info on congestion --- RTD measurement to detect congestion
-- Connection-oriented - easier, versus Connection-less - harder flow control
-- In higher data-rate, higher link capacity networks: --- no feedback before transmission ends maybe --- errant node can still flood net --- expect same utility, because new applications may eat up bandwidth
-- Internets (Internet sublayer) --- needed because there are multiple LAN protocols --- TCP/IP - SNA gateway
-- Question: If LAN uses 1500 byte DL packets, LAN2 uses 512, which layer splits/assembles packets?
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Low (^) Low (^) High
Transport
Network
Data
Physical
Endpoints
Dr. Abrams, Computer Science Dept, VA Tech Spring 1994 Lecture 3
Synchronization: move session entities back to known state if an upper layer error occurs (layer 4 only recovers from common errors in layer 1 - 3). Roll back to last synchronization point and re-start.
Activity management (partition message stream into files)
Exception reporting.