#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 | getAddress (struct ieee802154_addr *ret) const |
| void | getBroadcast (struct in_addr *ret) const |
| bool | operator< (const NetInterface &) const |
| bool | operator== (const NetInterface &) const |
Definition at line 20 of file NetInterface.h.
| ibrcommon::NetInterface::NetInterface | ( | std::string | interface | ) |
Definition at line 41 of file NetInterface.cpp.
| ibrcommon::NetInterface::~NetInterface | ( | ) | [virtual] |
Definition at line 46 of file NetInterface.cpp.
| void ibrcommon::NetInterface::getAddress | ( | struct ieee802154_addr * | ret | ) | const |
Definition at line 83 of file NetInterface.cpp.
References getAddress().
| void ibrcommon::NetInterface::getAddress | ( | struct in_addr * | ret | ) | const |
Definition at line 78 of file NetInterface.cpp.
References getAddress().
| std::string ibrcommon::NetInterface::getAddress | ( | ) | const |
Definition at line 68 of file NetInterface.cpp.
Referenced by ibrcommon::UnicastSocketLowpan::bind(), ibrcommon::UnicastSocket::bind(), dtn::net::UDPConvergenceLayer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), createConvergenceLayers(), getAddress(), ibrcommon::MulticastSocket::joinGroup(), ibrcommon::MulticastSocket::leaveGroup(), main(), ibrcommon::MulticastSocket::setInterface(), ibrcommon::tcpserver::tcpserver(), dtn::net::UDPConvergenceLayer::update(), dtn::net::TCPConvergenceLayer::update(), and dtn::net::LOWPANConvergenceLayer::update().
| void ibrcommon::NetInterface::getBroadcast | ( | struct in_addr * | ret | ) | const |
Definition at line 88 of file NetInterface.cpp.
References getBroadcast().
| std::string ibrcommon::NetInterface::getBroadcast | ( | ) | const |
Definition at line 73 of file NetInterface.cpp.
Referenced by ibrcommon::BroadcastSocket::bind(), and getBroadcast().
| std::string ibrcommon::NetInterface::getInterface | ( | ) | const |
Definition at line 63 of file NetInterface.cpp.
Referenced by dtn::net::IPNDAgent::bind(), dtn::net::IPNDAgent::componentUp(), dtn::net::UDPConvergenceLayer::onInterface(), dtn::net::TCPConvergenceLayer::onInterface(), dtn::net::LOWPANConvergenceLayer::onInterface(), and dtn::net::IPNDAgent::sendAnnoucement().
| bool ibrcommon::NetInterface::operator< | ( | const NetInterface & | other | ) | const |
Definition at line 51 of file NetInterface.cpp.
| bool ibrcommon::NetInterface::operator== | ( | const NetInterface & | other | ) | const |
Definition at line 57 of file NetInterface.cpp.
1.6.3