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

A node in the interface list of the router. More...

#include <sr_if.h>

Public Attributes

char name [sr_IFACE_NAMELEN]
 The name of the interface.
 
unsigned char addr [ETHER_ADDR_LEN]
 The MAC address of the interface.
 
uint32_t ip
 The IP address of the interface.
 
uint32_t speed
 
struct sr_ifnext
 The next interface in the linked list.
 

Detailed Description

A node in the interface list of the router.

The interface is stored as a linked list.


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