IBR-DTNSuite
0.12
|
Namespaces | |
LogLevel | |
Typedefs | |
typedef unsigned int | bloom_type |
typedef unsigned char | cell_type |
typedef std::set< basesocket * > | socketset |
Enumerations | |
enum | socket_error_code { ERROR_NONE = 0, ERROR_EPIPE = 1, ERROR_CLOSED = 2, ERROR_WRITE = 3, ERROR_READ = 4, ERROR_RESET = 5, ERROR_AGAIN = 6 } |
enum | SyslogPriority { SYSLOG_EMERG = LOG_EMERG, SYSLOG_ALERT = LOG_ALERT, SYSLOG_CRIT = LOG_CRIT, SYSLOG_ERR = LOG_ERR, SYSLOG_WARNING = LOG_WARNING, SYSLOG_NOTICE = LOG_NOTICE, SYSLOG_INFO = LOG_INFO, SYSLOG_DEBUG = LOG_DEBUG } |
Functions | |
std::ostream & | operator<< (std::ostream &os, const ConfigFile &cf) |
std::istream & | operator>> (std::istream &is, ConfigFile &cf) |
int | nl_object_get_msgtype (struct nl_object *obj) |
vaddress | rtnl_addr_get_local_vaddress (struct rtnl_addr *obj) |
void | add_addr_to_list (struct nl_object *obj, void *data) |
void | initialize_socket () |
void | __copy_device_address (struct in_addr *inaddr, const vinterface &iface) |
int | __compat_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
std::ostream & | operator<< (std::ostream &stream, const SyslogPriority &prio) |
std::ostream & | operator<< (std::ostream &stream, const TimeMeasurement &measurement) |
Variables | |
std::ostream & | slog = SyslogStream::getStream() |
Address change notifications: http://msdn.microsoft.com/en-us/library/aa366329(v=vs.85).aspx
On windows the timespec is defined in the pthread headers.
typedef unsigned int ibrcommon::bloom_type |
Definition at line 38 of file BloomFilter.h.
typedef unsigned char ibrcommon::cell_type |
Definition at line 39 of file BloomFilter.h.
typedef std::set<basesocket*> ibrcommon::socketset |
Enumerator | |
---|---|
SYSLOG_EMERG | |
SYSLOG_ALERT | |
SYSLOG_CRIT | |
SYSLOG_ERR | |
SYSLOG_WARNING | |
SYSLOG_NOTICE | |
SYSLOG_INFO | |
SYSLOG_DEBUG |
Definition at line 32 of file SyslogStream.h.
int ibrcommon::__compat_select | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout | ||
) |
Definition at line 137 of file vsocket.cpp.
References ibrcommon::TimeMeasurement::getTime(), ibrcommon::TimeMeasurement::start(), and ibrcommon::TimeMeasurement::stop().
Referenced by ibrcommon::vsocket::select().
void ibrcommon::__copy_device_address | ( | struct in_addr * | inaddr, |
const vinterface & | iface | ||
) |
Definition at line 1191 of file socket.cpp.
References ibrcommon::vaddress::address(), and ibrcommon::vinterface::getAddresses().
void ibrcommon::add_addr_to_list | ( | struct nl_object * | obj, |
void * | data | ||
) |
Definition at line 197 of file NetLinkManager.cpp.
References rtnl_addr_get_local_vaddress().
Referenced by ibrcommon::NetLinkManager::getAddressList().
void ibrcommon::initialize_socket | ( | ) |
Definition at line 95 of file socket.cpp.
References __init_sockets.
int ibrcommon::nl_object_get_msgtype | ( | struct nl_object * | obj) |
Definition at line 63 of file NetLinkManager.cpp.
std::ostream & ibrcommon::operator<< | ( | std::ostream & | stream, |
const SyslogPriority & | prio | ||
) |
Definition at line 71 of file SyslogStream.cpp.
References ibrcommon::SyslogStream::setPriority(), and slog.
std::ostream& ibrcommon::operator<< | ( | std::ostream & | os, |
const ConfigFile & | cf | ||
) |
Definition at line 81 of file ConfigFile.cpp.
References ibrcommon::ConfigFile::myContents, and ibrcommon::ConfigFile::myDelimiter.
std::ostream& ibrcommon::operator<< | ( | std::ostream & | stream, |
const TimeMeasurement & | measurement | ||
) |
Definition at line 92 of file TimeMeasurement.cpp.
References ibrcommon::TimeMeasurement::format(), and ibrcommon::TimeMeasurement::getTime().
std::istream& ibrcommon::operator>> | ( | std::istream & | is, |
ConfigFile & | cf | ||
) |
Definition at line 95 of file ConfigFile.cpp.
References ibrcommon::ConfigFile::myComment, ibrcommon::ConfigFile::myContents, ibrcommon::ConfigFile::myDelimiter, ibrcommon::ConfigFile::mySentry, and ibrcommon::ConfigFile::trim().
vaddress ibrcommon::rtnl_addr_get_local_vaddress | ( | struct rtnl_addr * | obj) |
Definition at line 76 of file NetLinkManager.cpp.
References ibrcommon::LinkManager::getInstance(), ibrcommon::LinkManager::getInterface(), ibrcommon::vaddress::SCOPE_LINKLOCAL, and ibrcommon::vinterface::toString().
Referenced by add_addr_to_list().
std::ostream & ibrcommon::slog = SyslogStream::getStream() |
Definition at line 28 of file SyslogStream.cpp.
Referenced by operator<<().