Sponge
CS144's user-space TCP library
|
Wrapper around sockaddr_storage. More...
#include <address.hh>
Public Member Functions | |
operator const sockaddr * () const | |
Converts Raw to const sockaddr * . More... | |
operator sockaddr * () | |
Converts Raw to sockaddr * . More... | |
Public Attributes | |
sockaddr_storage | storage {} |
The wrapped struct itself. More... | |
Wrapper around sockaddr_storage.
A sockaddr_storage
is enough space to store any socket address (IPv4 or IPv6).
Definition at line 17 of file address.hh.
Address::Raw::operator const sockaddr * | ( | ) | const |
Converts Raw to const sockaddr *
.
Definition at line 18 of file address.cc.
Address::Raw::operator sockaddr * | ( | ) |
Converts Raw to sockaddr *
.
Definition at line 15 of file address.cc.
sockaddr_storage Address::Raw::storage {} |
The wrapped struct itself.
Definition at line 19 of file address.hh.