CS43 Lab7 - A Router Stack  1.2019
Classes | Functions
sr_rt.h File Reference

Functions and data structures for handling the routing table. More...

#include <netinet/in.h>
#include "sr_if.h"
Include dependency graph for sr_rt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sr_rt
 

Functions

int sr_load_rt (struct sr_instance *, const char *)
 
void sr_add_rt_entry (struct sr_instance *, struct in_addr, struct in_addr, struct in_addr, char *)
 
void sr_print_routing_table (struct sr_instance *sr)
 
void sr_print_routing_entry (struct sr_rt *entry)
 

Detailed Description

Functions and data structures for handling the routing table.