|
|
|
|
/home/brennan/n-sim/OrbisQuartus/shared/sim_if.h File ReferenceThe OrbisQuartus environment simulator. More...
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include "oq.h"
Go to the source code of this file.
Detailed Description
The OrbisQuartus environment simulator.
- Revision
- 1.12
Original Author: Sean M. Brennan <brennan@lanl.gov> - Author
- sean_m_brennan
Created: February 8, 2006 - Date
- 2007/10/11 17:13:34
Definition in file sim_if.h.
Define Documentation
#define OQ_REQ_RECONFIG (INT_MAX - OQ_MAGIC) |
|
#define OQ_REQ_REPEAT ((INT_MAX - OQ_MAGIC) - 1) |
|
#define OQ_RESP_INIT _IOR(OQ_MAGIC, 1, int) |
|
#define OQ_RESP_PAUSE _IO(OQ_MAGIC, 4) |
|
#define OQ_RESP_REINIT _IOR(OQ_MAGIC, 2, int) |
|
#define OQ_RESP_RESULT _IOWR(OQ_MAGIC, 3, int) |
|
Typedef Documentation
Enumeration Type Documentation
|
- Enumerator:
-
Definition at line 60 of file sim_if.h. |
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-l4.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. |
|