|
@@ -164,7 +164,7 @@ The task of the sniffer programmer to decode the raw stream into human readable
|
164
|
164
|
2. Configure the project. In this laboratory experience you will be working with the files `ethernet_hdr.h`, `ethernet_packet.h`, `ethernet_packet.cpp`, `ip_packet.h` and `ip_packet.cpp`.
|
165
|
165
|
|
166
|
166
|
|
167
|
|
-### Exercise 2 - Complete the Class ethernet_packet
|
|
167
|
+### Exercise 2 - Complete the Class `ethernet_packet`
|
168
|
168
|
|
169
|
169
|
1. Study the file `ethernet_hdr.h`. This file contains the definition of the data structure that represents an Ethernet header.:
|
170
|
170
|
|
|
@@ -223,7 +223,7 @@ The task of the sniffer programmer to decode the raw stream into human readable
|
223
|
223
|
|
224
|
224
|
4. Your task in this exercise is to implement the seven functions listed above in the file `ethetnet_packet.cpp`. The headers of some of the functions are provided in the file.
|
225
|
225
|
|
226
|
|
-### Exercise 3 - Build the Header of the Class ip_packet
|
|
226
|
+### Exercise 3 - Build the Header of the Class `ip_packet`
|
227
|
227
|
|
228
|
228
|
1. Study the definitions of the functions of the class `ip_packet` found in file `ip_packet.cpp`
|
229
|
229
|
|