Sponge
CS144's user-space TCP library
Classes
tcp_config.hh File Reference
#include "address.hh"
#include "wrapping_integers.hh"
#include <cstddef>
#include <cstdint>
#include <optional>
Include dependency graph for tcp_config.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FdAdapterConfig
 Config for classes derived from FdAdapter. More...
 
class  TCPConfig
 Config for TCP sender and receiver. More...
 

Class Documentation

◆ FdAdapterConfig

class FdAdapterConfig

Config for classes derived from FdAdapter.

Definition at line 26 of file tcp_config.hh.

Class Members
Address destination Destination address and port.
uint16_t loss_rate_dn Downlink loss rate (for LossyFdAdapter)
uint16_t loss_rate_up Uplink loss rate (for LossyFdAdapter)
Address source Source address and port.