COSC 4300 Networks and Internets

Fall 2014

Homework Assignment #4

Internet Control Message Protocol
"Ah, I see you have the machine that goes ping.
This is my favorite. You see we lease it back from the company we sold it to
and that way it comes under the monthly current budget and not the capital account..."
-- Monty Python's The Meaning of Life
Due: Wednesday, October 1st, 11:59pm CDT
Submit: Turn in your entire kernel source code using the turnin command on the Systems Lab machines.
Please run "make clean" in your compile/ subdirectory before submitting. Work is to be completed in teams. Only one team member should turnin, but it would be courteous to notify your teammate(s) when you do this. Names of authors should be included in all work. You may submit multiple times, but only the last turnin will be kept. The automatic submission system will not accept work after the deadline.

Internet Control Message Protocol

Building upon your Embedded Xinu kernel from the previous assignment, implement a basic ICMP component for the system that supports echo request (ping) and echo reply.

Your new component should feature the following:

Note that your ping command will need to resolve the MAC address of the destination IP address using last assignment's ARP component (resolveArp()).

Note the documentation for the current Embedded Xinu Network Playground API.

[Revised 2014 Sep 24 13:57 DWB]