IBR-DTNSuite
0.8
|
#include <lowpansocket.h>
Public Member Functions | |
int | send (const char *data, const size_t length) |
Protected Member Functions | |
peer (lowpansocket &socket, const struct sockaddr_ieee802154 &dest, const unsigned int panid) | |
Protected Attributes | |
struct sockaddr_ieee802154 | _destaddress |
lowpansocket & | _socket |
Friends | |
class | lowpansocket |
Definition at line 30 of file lowpansocket.h.
ibrcommon::lowpansocket::peer::peer | ( | lowpansocket & | socket, |
const struct sockaddr_ieee802154 & | dest, | ||
const unsigned int | panid | ||
) | [protected] |
Definition at line 74 of file lowpansocket.cpp.
References _destaddress, sockaddr_ieee802154::addr, ieee802154_addr::addr_type, AF_IEEE802154, bzero, sockaddr_ieee802154::family, IEEE802154_ADDR_SHORT, ieee802154_addr::pan_id, and ieee802154_addr::short_addr.
int ibrcommon::lowpansocket::peer::send | ( | const char * | data, |
const size_t | length | ||
) |
Definition at line 85 of file lowpansocket.cpp.
Referenced by dtn::net::LOWPANDatagramService::send(), and dtn::net::LOWPANConvergenceLayer::send_cb().
friend class lowpansocket [friend] |
Definition at line 32 of file lowpansocket.h.
struct sockaddr_ieee802154 ibrcommon::lowpansocket::peer::_destaddress [protected] |
Definition at line 37 of file lowpansocket.h.
Referenced by peer().
lowpansocket& ibrcommon::lowpansocket::peer::_socket [protected] |
Definition at line 38 of file lowpansocket.h.