Chap_11Lesson03EmsysNewTCPStack

2008 chapter 11 l03 embedded systems architecture

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: pplications of IPC functions in VxWorks. 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 7 2. Requirements 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 8 Purpose To generate the byte stream for sending on the network using TCP or UDP protocol at transport layer and IP protocol at network layer 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 9 Inputs Bytes from application layer Notification SemTCPFlag or SemUDPFlag in case of TCP sequences or UDP datagram, respectively 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 10 Signals, Events and Notifications After forming the packets at IP layer, SemPktFlag for network driver task 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 11 Outputs TCP or UDP Byte stream to destination socket 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 12 Functions of the system An HTTP application data is sent after encoding headers at transport and network layers. Tasks are scheduled in five sequences (i) Task_StrCheck, (ii)Task_OutStream, (iii) Task_TCPSegment or Task_UDPDatagram, (iv) Task_IPPktStream (v) Task_NetworkDrv 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 13 Test and validation conditions A loop back from destination socket should enable retrieval of application data stream as originally sent Buffer Memory over flow tests 2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 14 3. Classes and Objects 2008 Chapte...
View Full Document

Ask a homework question - tutors are online