#include <NetInterface.h>

Classes | |
| class | NetLinkWrapper |
Public Member Functions | |
| NetInterface (std::string interface) | |
| virtual | ~NetInterface () |
| const std::list< NetAddress > | getAddressList () const |
| const std::list< NetAddress > | getBroadcastList () const |
| const std::string | getAddress () const |
| const NetAddress | getAddress (const NetAddress::ADDR_TYPE type) const |
| const NetAddress | getBroadcast (const NetAddress::ADDR_TYPE type) const |
| void | getAddress (struct in_addr *ret) const |
| void | getAddress (struct ieee802154_addr *ret) const |
| bool | operator< (const NetInterface &) const |
| bool | operator== (const NetInterface &) const |
| const std::string | toString () const |
Definition at line 26 of file NetInterface.h.
| ibrcommon::NetInterface::NetInterface | ( | std::string | interface | ) |
Definition at line 163 of file NetInterface.cpp.
| ibrcommon::NetInterface::~NetInterface | ( | ) | [virtual] |
Definition at line 168 of file NetInterface.cpp.
| const std::string ibrcommon::NetInterface::getAddress | ( | ) | const |
Definition at line 215 of file NetInterface.cpp.
References ibrcommon::NetAddress::NETADDR_IP.
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().
| const NetAddress ibrcommon::NetInterface::getAddress | ( | const NetAddress::ADDR_TYPE | type | ) | const |
Definition at line 194 of file NetInterface.cpp.
References getAddressList().

| void ibrcommon::NetInterface::getAddress | ( | struct in_addr * | ret | ) | const |
Definition at line 209 of file NetInterface.cpp.
References getAddress(), ibrcommon::NetAddress::NETADDR_IP, and ibrcommon::NetAddress::toString().

| void ibrcommon::NetInterface::getAddress | ( | struct ieee802154_addr * | ret | ) | const |
Definition at line 222 of file NetInterface.cpp.
References ieee802154_addr::addr_type, IEEE802154_ATTR_DEV_NAME, IEEE802154_ATTR_MAX, IEEE802154_ATTR_PAN_ID, IEEE802154_ATTR_SHORT_ADDR, IEEE802154_LIST_IFACE, ieee802154_policy, ieee802154_addr::pan_id, and ieee802154_addr::short_addr.
| const std::list< NetAddress > ibrcommon::NetInterface::getAddressList | ( | ) | const |
Definition at line 189 of file NetInterface.cpp.
Referenced by getAddress().
| const NetAddress ibrcommon::NetInterface::getBroadcast | ( | const NetAddress::ADDR_TYPE | type | ) | const |
Definition at line 265 of file NetInterface.cpp.
References getBroadcastList().
Referenced by ibrcommon::BroadcastSocket::bind().

| const std::list< NetAddress > ibrcommon::NetInterface::getBroadcastList | ( | ) | const |
Definition at line 280 of file NetInterface.cpp.
Referenced by getBroadcast().
| bool ibrcommon::NetInterface::operator< | ( | const NetInterface & | other | ) | const |
Definition at line 172 of file NetInterface.cpp.
| bool ibrcommon::NetInterface::operator== | ( | const NetInterface & | other | ) | const |
Definition at line 178 of file NetInterface.cpp.
| const std::string ibrcommon::NetInterface::toString | ( | ) | const |
Definition at line 184 of file NetInterface.cpp.
Referenced by dtn::net::IPNDAgent::bind(), dtn::net::IPNDAgent::componentUp(), and dtn::net::IPNDAgent::sendAnnoucement().
1.7.1