N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/Vaike/linux/system-addons/networking/mesh_ipc.c File Reference

Facilities to control WSN mesh network routing daemon. More...

#include <stdio.h>
#include <unistd.h>
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/select.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <limits.h>
#include <errno.h>
#include <netdb.h>
#include "mesh_ipc.h"
#include "sensor_self.h"
#include "mesh_discovery.h"
#include "mesh_protocol.h"
#include "mesh_metrics.h"
#include "mesh_net.h"
#include "mesh_neighbor.h"

Go to the source code of this file.

Defines

#define REQUEST_LEN   256

Functions

int mesh_ipc_init (void)
int mesh_ioctl (int request,...)


Detailed Description

Facilities to control WSN mesh network routing daemon.

Revision
1.1

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: August 1, 2007

Date
2008/02/03 22:00:45

Definition in file mesh_ipc.c.


Define Documentation

#define REQUEST_LEN   256
 

Definition at line 72 of file mesh_ipc.c.


Function Documentation

int mesh_ioctl int  request,
  ...
 

Definition at line 416 of file mesh_ipc.c.

References memcpy, MESH_HEADER_SPACE, MESH_IOGLNKMTR, MESH_IOGMTU, MESH_IOGNGHADDR, MESH_IOGNGHPOS, MESH_IOGRTMTR, MESH_IOGSNDQ, MESH_IOGSNDTMO, MESH_IORECVNEAR, MESH_IORECVRAW, MESH_IORECVSEQ, MESH_IOREDISCVR, MESH_IOSENDNEAR, MESH_IOSENDRAW, MESH_IOSENDSEQ, MESH_IOSMTU, MESH_IOSOCKET, MESH_IOSSNDQ, MESH_IOSSNDTMO, p_error, and port.

Referenced by mesh_get_mtu(), mesh_get_resend_timeout(), mesh_get_sendqueue(), mesh_link_energy(), mesh_link_goodput(), mesh_link_reliability(), mesh_proactive_rediscover(), mesh_raw_recvfrom(), mesh_raw_sendto(), mesh_recvfrom(), mesh_recvfrom_nextdoor(), mesh_route_energy_cost(), mesh_route_goodput(), mesh_route_reliability(), mesh_sendto(), mesh_sendto_nextdoor(), mesh_set_mtu(), mesh_set_resend_timeout(), mesh_set_sendqueue(), neighbor_address(), and neighbor_position().

int mesh_ipc_init void   ) 
 

Definition at line 336 of file mesh_ipc.c.

References h_error, he, MESH_CONTROL_PORT, p_error, and their_addr.


© 2007, Los Alamos National Security, LLC.