Difference between revisions of "Implementing A Very Simple Protocol"

From ARL Wiki
Jump to navigationJump to search
Line 21: Line 21:
 
* Filters for local delivery
 
* Filters for local delivery
 
* User-space process
 
* User-space process
** Has VCI-socket map M
+
** Has VCI-MI Socket map; i.e., M : VCI --> MI Socket
 
** Forwards pkt to socket M(pkt.VCI)
 
** Forwards pkt to socket M(pkt.VCI)
  

Revision as of 03:15, 29 May 2009

Very Simple Virtual Circuit Protocol

Goals

  • Describe basic user procedure
  • Begin to describe underlying architecture and components
  • Talk about substrate concept

Versions

  • 0
    • VCI in first word of UDP payload
    • VCI is globally unique
  • 1
    • VCI can change during transit as part of pkt processing

User-space pkt

  • Tunnel socket appears in UDP header
  • VCI is first word of UDP payload
  • Payload also has timestamp (for RTT and space-time diagram)

User-Space Implementation

  • Filters for local delivery
  • User-space process
    • Has VCI-MI Socket map; i.e., M : VCI --> MI Socket
    • Forwards pkt to socket M(pkt.VCI)

Fastpath Implementation

  • Requires mods to Parse and Header Format
  • Uses generic Lookup

Interesting Example