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/OrbisQuartus/server/xen/sim_if-xen.cpp File Reference

#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <configuration.h>
#include <sensor_device.h>
#include <virtual_time.h>
#include <mac_lib.h>
#include <sim_if.h>
#include <daemon.h>

Go to the source code of this file.

Functions

void sim_if_service (int nodes[], int num_nodes)


Function Documentation

void sim_if_service int  nodes[],
int  num_nodes
 

Todo:
handle radio_request error
Todo:
handle unknown node error
Todo:
handle mac_filter error
Todo:
handle null request error
Todo:
handle sense_request error

Definition at line 71 of file sim_if-xen.cpp.

References avl_find_min(), avl_retrieve(), avlnode::element, sk_buff::list, avlnode::next, oq_req_resp::node_id, OQ_REQ_REPEAT, OQ_RESP_INIT, OQ_RESP_PAUSE, OQ_RESP_REINIT, OQ_RESP_RESULT, Node_radio::protocol, protocol_filter(), Sensor_node::radio, strcmp, and oq_req_resp::type.


© 2007, Los Alamos National Security, LLC.