Outline



Device Drivers



Device Drivers: upper half

  1. allocate resources
  2. enter mutual exclusion, disable interrupts
  3. copy data to buffer
  4. request transmission, interrupt
  5. enable interrupts, exit mutual exclusion



Device Drivers: lower half

  1. disable interrupts (implicit mutual exclusion)
  2. check for errors
  3. check for transmit interrupt:
  4. check for receive interrupt:
  5. enable interrupts



Reliable Transmission



Types of Acks

type meaning
cumulative received up to here
selective received this packet
negative missing this packet



In-class exercise



Stop-and-Wait



Sliding Window



Sliding Window



Sequence Numbers



Project Status

  1. how many people have read the RFC?
  2. how many people have completed the design of their system?
  3. how many people have started implementing their system?
  4. how many people have tested the simulation code?
  5. how many people are done?