IBR-DTNSuite  0.10
socket.cpp File Reference
#include "ibrcommon/config.h"
#include "ibrcommon/net/socket.h"
#include "ibrcommon/net/vsocket.h"
#include "ibrcommon/Logger.h"
#include <arpa/inet.h>
#include <sys/select.h>
#include <string.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netdb.h>
#include <unistd.h>
#include <sstream>
#include <cassert>
Include dependency graph for socket.cpp:

Go to the source code of this file.

Namespaces

namespace  ibrcommon
 

Macros

#define bzero(s, n)   (memset((s), '\0', (n)), (void) 0)
 

Functions

void ibrcommon::__copy_device_address (struct in_addr *inaddr, const vinterface &iface)
 

Macro Definition Documentation

#define bzero (   s,
 
)    (memset((s), '\0', (n)), (void) 0)

Definition at line 43 of file socket.cpp.

Referenced by ibrcommon::lowpansocket::sendto(), and ibrcommon::lowpansocket::up().