Sponge
CS144's user-space TCP library
|
Public Member Functions | |
Host (const string &name, const Address &my_address, const Address &next_hop) | |
const Address & | address () |
void | check () |
void | expect (const InternetDatagram &expected) |
AsyncNetworkInterface & | interface () |
const string & | name () |
InternetDatagram | send_to (const Address &destination, const uint8_t ttl=64) |
Private Member Functions | |
bool | expecting (const InternetDatagram &expected) const |
void | remove_expectation (const InternetDatagram &expected) |
Private Attributes | |
std::list< InternetDatagram > | _expecting_to_receive {} |
AsyncNetworkInterface | _interface |
Address | _my_address |
string | _name |
Address | _next_hop |
Definition at line 73 of file network_simulator.cc.
Definition at line 100 of file network_simulator.cc.
|
inline |
Definition at line 122 of file network_simulator.cc.
|
inline |
Definition at line 130 of file network_simulator.cc.
|
inline |
Definition at line 126 of file network_simulator.cc.
|
inlineprivate |
Definition at line 81 of file network_simulator.cc.
|
inline |
Definition at line 124 of file network_simulator.cc.
|
inline |
Definition at line 128 of file network_simulator.cc.
|
inlineprivate |
Definition at line 90 of file network_simulator.cc.
|
inline |
Definition at line 106 of file network_simulator.cc.
|
private |
Definition at line 79 of file network_simulator.cc.
|
private |
Definition at line 76 of file network_simulator.cc.
|
private |
Definition at line 75 of file network_simulator.cc.
|
private |
Definition at line 74 of file network_simulator.cc.
|
private |
Definition at line 77 of file network_simulator.cc.