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

A packet queued, waiting for the resolution of an sr_arpreq. More...

#include <sr_arpcache.h>

Public Attributes

uint8_t * buf
 The raw Ethernet frame of the packet, presumably with the dest MAC empty.
 
unsigned int len
 Length of the raw ethernet frame.
 
char * iface
 The outgoing interface.
 
struct sr_packetnext
 A pointer to the next packet waiting on the same request. More...
 

Detailed Description

A packet queued, waiting for the resolution of an sr_arpreq.

Member Data Documentation

◆ next

struct sr_packet* sr_packet::next

A pointer to the next packet waiting on the same request.

NULL if there are no more packets.


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