1 / 7

State Diagrams

State Diagrams. EE 122: Intro to Communication Networks Fall 2007 (WF 4-5:30 in Cory 277 ) Vern Paxson TAs: Lisa Fowler, Daniel Killebrew & Jorge Ortiz http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, and colleagues at Princeton and UC Berkeley.

ova
Download Presentation

State Diagrams

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. State Diagrams EE 122: Intro to Communication Networks Fall 2007 (WF 4-5:30 in Cory 277) Vern Paxson TAs: Lisa Fowler, Daniel Killebrew & Jorge Ortiz http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica,and colleagues at Princeton and UC Berkeley

  2. State Diagrams • For complicated protocols, operation depends critically on current mode of operation • Important tool for capture this: state diagram • At any given time, protocol endpoint is in a particular state • Dictates its current behavior • Endpoint transitions to other states on events • Interaction with lower layer • Reception of certain types of packets • Interaction with upper layer • New data arrives to send, or received data is consumed • Timers

  3. TCP State Diagram

  4. SMTP State DiagramServer States client sends other commands closed begin connection establishment 2xx HELO connection establishment 4xx wait MAIL FROM: 2xx client sends other commands or errors on MAIL FROM: envelope created; no recipients RSET errors attempt to deliver client sends other commands or errors on RCPT TO: RSET RCPT TO: 2xx text recipients set writing mail ready to deliver DATA client sends other commands or errors on RCPT TO: or RCPT TO: 2xx <CRLF>.<CRLF>

  5. SMTP State DiagramCommand States HELO MAIL RCPT RSET SEND SOML SAML VRFYEXPN HELP NOOP QUIT TURN begin wait 1xx 3xx 4xx 5xx 2xx failure success error

More Related