|
IBR-DTNSuite 0.6
|
#include <lowpansocket.h>


Classes | |
| class | peer |
| class | SocketException |
Public Member Functions | |
| virtual | ~lowpansocket () |
| virtual void | shutdown () |
| int | receive (char *data, size_t maxbuffer) |
| lowpansocket::peer | getPeer (const std::string address, const unsigned int panid) |
Protected Member Functions | |
| lowpansocket (u_char proto=0) throw (SocketException) | |
Static Protected Member Functions | |
| static void | getAddress (struct ieee802154_addr *ret, const vinterface &iface) |
Protected Attributes | |
| int | _socket |
| struct sockaddr_ieee802154 | _sockaddr |
Definition at line 19 of file lowpansocket.h.
| ibrcommon::lowpansocket::~lowpansocket | ( | ) | [virtual] |
Definition at line 46 of file lowpansocket.cpp.
References shutdown().

| ibrcommon::lowpansocket::lowpansocket | ( | u_char | proto = 0 | ) | throw (SocketException) [protected] |
Definition at line 33 of file lowpansocket.cpp.
References AF_IEEE802154, bzero, IEEE802154_ADDR_SHORT, and PF_IEEE802154.
| void ibrcommon::lowpansocket::getAddress | ( | struct ieee802154_addr * | ret, |
| const vinterface & | iface | ||
| ) | [static, protected] |
Definition at line 94 of file lowpansocket.cpp.
References ieee802154_addr::addr_type, IEEE802154_ADDR_SHORT, IEEE802154_ATTR_DEV_NAME, IEEE802154_ATTR_MAX, IEEE802154_ATTR_PAN_ID, IEEE802154_ATTR_SHORT_ADDR, IEEE802154_LIST_IFACE, ieee802154_policy, ieee802154_addr::pan_id, ieee802154_addr::short_addr, and ibrcommon::vinterface::toString().
Referenced by ibrcommon::UnicastSocketLowpan::bind().

| lowpansocket::peer ibrcommon::lowpansocket::getPeer | ( | const std::string | address, |
| const unsigned int | panid | ||
| ) |
Referenced by dtn::net::LOWPANConvergenceLayer::queue().
| int ibrcommon::lowpansocket::receive | ( | char * | data, |
| size_t | maxbuffer | ||
| ) |
Definition at line 58 of file lowpansocket.cpp.
References _socket, and ibrcommon::recvfrom().
Referenced by dtn::net::LOWPANConvergenceLayer::operator>>().

| void ibrcommon::lowpansocket::shutdown | ( | ) | [virtual] |
Definition at line 51 of file lowpansocket.cpp.
References _socket.
Referenced by dtn::net::LOWPANConvergenceLayer::componentDown(), and ~lowpansocket().
struct sockaddr_ieee802154 ibrcommon::lowpansocket::_sockaddr [protected] |
Definition at line 54 of file lowpansocket.h.
Referenced by ibrcommon::UnicastSocketLowpan::bind().
int ibrcommon::lowpansocket::_socket [protected] |
Definition at line 53 of file lowpansocket.h.
Referenced by ibrcommon::UnicastSocketLowpan::bind(), receive(), ibrcommon::lowpansocket::peer::send(), and shutdown().