Sponge
CS144's user-space TCP library
TunFD Member List

This is the complete list of members for TunFD, including all inherited members.

_internal_fdFileDescriptorprivate
close()FileDescriptorinline
closed() constFileDescriptorinline
duplicate() constFileDescriptor
eof() constFileDescriptorinline
fd_num() constFileDescriptorinline
FileDescriptor(std::shared_ptr< FDWrapper > other_shared_ptr)FileDescriptorexplicitprivate
FileDescriptor(const int fd)FileDescriptorexplicit
FileDescriptor(const FileDescriptor &other)=deleteFileDescriptor
FileDescriptor(FileDescriptor &&other)=defaultFileDescriptor
operator=(const FileDescriptor &other)=deleteFileDescriptor
operator=(FileDescriptor &&other)=defaultFileDescriptor
read(const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read(std::string &str, const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read_count() constFileDescriptorinline
set_blocking(const bool blocking_state)FileDescriptor
TunFD(const std::string &devname)TunFDinlineexplicit
TunTapFD(const std::string &devname, const bool is_tun)TunTapFDexplicit
write(const char *str, const bool write_all=true)FileDescriptorinline
write(const std::string &str, const bool write_all=true)FileDescriptorinline
write(BufferViewList buffer, const bool write_all=true)FileDescriptor
write_count() constFileDescriptorinline
~FileDescriptor()=defaultFileDescriptor