1 / 12

CR Kit Packet Formatting

CR Kit Packet Formatting. WINLAB Rutgers University Date : June 11 2010 Authors : Khanh Le, kle@winlab.rutgers.edu Prasanthi Maddala , prasanthi.m@gmail.com. Outline. Ethernet Frame, IP/TCP/UDP headers Packet types Host -> HW : three packet types

Download Presentation

CR Kit Packet Formatting

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. CR KitPacket Formatting WINLAB Rutgers University Date : June 11 2010 Authors : Khanh Le, kle@winlab.rutgers.edu Prasanthi Maddala, prasanthi.m@gmail.com

  2. Outline • Ethernet Frame, IP/TCP/UDP headers • Packet types • Host -> HW : three packet types • RMAP packets (register map read/write) • Data packets • TCP/IP packets • HW -> Host : three packet types • RMAP packets (read data) • Data packets • TCP/IP packets

  3. CR Kit Packet Format • Ex. 1) RMAP packet to HW : UDP src port = 00, UDP dest port = 00 • 2) Data packets to HW : UDP src port = 02, UDP dest port = 02 • 3) RMAP packet to HOST: UDP src port = 00, UDP dest port = 00 • 4) RMAP INTR packet to HOST: UDP src port = 01, UDP dest port = 01 • 5) Data packet to HOST: UDP src port = 02, UDP dest port = 02 • Ethernet Header : • Board MAC address : fixed value • Host MAC Address : machine dependent e.g. as defined by Ethernet card • IP Header : • Board IP : 192.168.0.0 • Host IP : 192.168.0.1 • UDP for board level communication e.g. RMAP and data packets • HOST -> HW : • UDP port 1000 – RMAP • UDP port 1001 – INTR (not used for Host -> HW) • UDP port 1002 – Data • HW -> HOST : • UDP port 1000 – RMAP • UDP port 1001 – INTR • UDP port 1002 – Data • TCP for any other applications e.g. ARP, DHCP.

  4. Ethernet Frame (source : wikipedia) • 802.1Q header is NOT used. • Type II Ethernet Frame format for TCP/IP application. • EtherType = 0x0800 (IPv4), 0x0806 (ARP) • Ethernet payload = 46-1500 bytes • http://en.wikipedia.org/wiki/Ethernet_frame

  5. EtherType(source : wikipedia)

  6. IPv4 packet header 1/3 (source : wikipedia) • http://en.wikipedia.org/wiki/IPv4#Header

  7. IPv4 packet header 2/3 (source : wikipedia) • http://en.wikipedia.org/wiki/IPv4#Header

  8. IPv4 packet header 3/3 (source : wikipedia) • http://en.wikipedia.org/wiki/IPv4#Header

  9. Fragmentation and Reassembly 1/2 (source : wikipedia) • http://en.wikipedia.org/wiki/IPv4#Header

  10. Fragmentation and Reassembly 2/2 (source : wikipedia) • http://en.wikipedia.org/wiki/IPv4#Header

  11. TCP (source : wikipedia) • http://en.wikipedia.org/wiki/Transmission_Control_Protocol

  12. UDP (source : wikipedia) • http://en.wikipedia.org/wiki/User_Datagram_Protocol

More Related