CS43 Lab7 - A Router Stack  1.2019
Public Attributes | List of all members
sr_instance Struct Reference

Struct which encapsulates all the state of a single router. More...

#include <sr_router.h>

Public Attributes

int sockfd
 
char user [32]
 
char host [32]
 
char template [30]
 
unsigned short topo_id
 
struct sockaddr_in sr_addr
 
struct sr_ifif_list
 
struct sr_rtrouting_table
 list of interfaces
 
struct sr_arpcache cache
 routing table
 
pthread_attr_t attr
 ARP cache.
 
FILE * logfile
 

Detailed Description

Struct which encapsulates all the state of a single router.


The documentation for this struct was generated from the following file: