CS43 Lab7 - A Router Stack  1.2019
router Directory Reference

Files

file  sr_arpcache.h [code]
 This file defines an ARP cache (sr_arpcache), which is made of two structures: an ARP request queue (sr_arpreq), and ARP cache entries (sr_arpentry).
 
file  sr_if.h [code]
 Data structures and methods for handeling interfaces.
 
file  sr_protocol.h [code]
 A collection of macros, structs, and enums to represent packet types and headers.
 
file  sr_router.c
 The set of functions which accept, queue, and send packets; Most of your work will go here.
 
file  sr_router.h [code]
 The set of functions which routes packets.
 
file  sr_rt.h [code]
 Functions and data structures for handling the routing table.
 
file  sr_utils.h [code]
 Utility functions for inspecting packets.