Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
lec23-networking3

lec23-networking3

Ratings: (0)|Views: 6 |Likes:
Published by minhhai2209

More info:

Published by: minhhai2209 on Aug 27, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/27/2010

pdf

text

original

 
CS162Operating Systems andSystems ProgrammingLecture 23Networking III
November 19, 2008Prof. John Kubiatowiczhttp://inst.eecs.berkeley.edu/~cs162
Lec22.211/17/08Kubiatowicz CS162 ©UCB Fall 2008
Review: Network Protocols
Protocol:Agreement between two parties as to howinformation is to be transmitted
Example: system calls are the protocol between theoperating system and application
Networking examples: many levels
»
Physical level: mechanical and electrical network (e.g. howare 0 and 1 represented)
»
Link level: packet formats/error control (for instance, theCSMA/CD protocol)
»
Network level: network routing, addressing
»
Transport Level: reliable message delivery
Protocols on today’s Internet:
EthernetATMPacket radioIPUDPTCPRPCNFSWWWe-mailsshPhysical/LinkNetworkTransport
 
Lec22.311/17/08Kubiatowicz CS162 ©UCB Fall 2008
Review: IP Packet Format
IP Packet Format:
16-bit identificationToS413-bit fragoffTotal length(16-bits)protocolTTL16-bit header checksum32-bit source IP address32-bit destination IP addressIHLflagsoptions (if any)Data0151631IP Ver4IP HeaderLengthSize of datagram(header+data)Flags &Fragmentationto split largemessagesTime toLive (hops)Type oftransportprotocol
IP header20 bytes
 
Lec22.411/17/08Kubiatowicz CS162 ©UCB Fall 2008
Goals for Today
Networking
Continue discussion of reliable messaging
Sequence numbers for ordering
Acknowledgments for reliability
TCP windowing
Sockets
Messages
Send/receive
One vs. two-way communication
Note: Some slides and/or pictures in the following areadapted from slides ©2005 Silberschatz, Galvin, and GagneNote: Some slides and/or pictures in the following areadapted from slides ©2005 Silberschatz, Galvin, and Gagne.Many slides generated from my lecture notes by Kubiatowicz.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->