#include <NetInterface.h>
Public Member Functions | |
| NetInterface (std::string interface) | |
| virtual | ~NetInterface () |
| std::string | getInterface () const |
| std::string | getAddress () const |
| std::string | getBroadcast () const |
| void | getAddress (struct in_addr *ret) const |
| void | getBroadcast (struct in_addr *ret) const |
| bool | operator< (const NetInterface &) const |
| bool | operator== (const NetInterface &) const |
Definition at line 16 of file NetInterface.h.
| ibrcommon::NetInterface::NetInterface | ( | std::string | interface | ) |
Definition at line 28 of file NetInterface.cpp.
| ibrcommon::NetInterface::~NetInterface | ( | ) | [virtual] |
Definition at line 33 of file NetInterface.cpp.
| std::string ibrcommon::NetInterface::getInterface | ( | ) | const |
Definition at line 50 of file NetInterface.cpp.
Referenced by dtn::net::IPNDAgent::bind(), dtn::net::IPNDAgent::componentUp(), dtn::net::UDPConvergenceLayer::onInterface(), dtn::net::TCPConvergenceLayer::onInterface(), and dtn::net::IPNDAgent::sendAnnoucement().
| std::string ibrcommon::NetInterface::getAddress | ( | ) | const |
Definition at line 55 of file NetInterface.cpp.
Referenced by ibrcommon::UnicastSocket::bind(), dtn::net::UDPConvergenceLayer::componentUp(), createConvergenceLayers(), getAddress(), ibrcommon::MulticastSocket::joinGroup(), ibrcommon::MulticastSocket::leaveGroup(), main(), ibrcommon::MulticastSocket::setInterface(), ibrcommon::tcpserver::tcpserver(), dtn::net::UDPConvergenceLayer::update(), and dtn::net::TCPConvergenceLayer::update().
| std::string ibrcommon::NetInterface::getBroadcast | ( | ) | const |
Definition at line 60 of file NetInterface.cpp.
Referenced by ibrcommon::BroadcastSocket::bind(), and getBroadcast().
| void ibrcommon::NetInterface::getAddress | ( | struct in_addr * | ret | ) | const |
| void ibrcommon::NetInterface::getBroadcast | ( | struct in_addr * | ret | ) | const |
| bool ibrcommon::NetInterface::operator< | ( | const NetInterface & | other | ) | const |
| bool ibrcommon::NetInterface::operator== | ( | const NetInterface & | other | ) | const |
1.5.6