N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

_self Struct Reference

#include <sensor_self.h>

List of all members.

Public Attributes

char * interface
char mac_addr [MAC_ADDR_LEN]
protocol_tprotocols
protocol_tlast_p
analysis_tanalyses
analysis_tlast_a
char ip_addr [NET_ADDR_LEN]
char broadcast [NET_ADDR_LEN]
char netmask [NET_ADDR_LEN]
avltree neighbors
avlnoden_iter
unsigned char battery_enabled
battery_t battery
double latitude
double longitude
double altitude
unsigned char isa_gateway
volatile unsigned int shutdown


Detailed Description

Definition at line 56 of file sensor_self.h.


Member Data Documentation

double _self::altitude
 

Definition at line 73 of file sensor_self.h.

Referenced by find_neighbors(), and neighbor_discovery().

analysis_t* _self::analyses
 

Definition at line 61 of file sensor_self.h.

Referenced by add_analysis().

battery_t _self::battery
 

Definition at line 71 of file sensor_self.h.

Referenced by get_discharge_rate(), and init_self().

unsigned char _self::battery_enabled
 

Definition at line 70 of file sensor_self.h.

Referenced by gather_statistics().

char _self::broadcast[NET_ADDR_LEN]
 

Definition at line 64 of file sensor_self.h.

Referenced by find_neighbors(), init_link_entry(), init_self(), and strength_send_mesh_discovery().

char* _self::interface
 

Definition at line 57 of file sensor_self.h.

Referenced by echo_statistics(), find_neighbors(), gather_statistics(), init_link_entry(), mesh_raw_send(), mesh_recv(), mesh_send(), neighbor_discovery(), propagate_routes(), route_discovery_done(), and send_routes().

char _self::ip_addr[NET_ADDR_LEN]
 

Definition at line 63 of file sensor_self.h.

Referenced by init_link(), init_link_entry(), and init_self().

unsigned char _self::isa_gateway
 

Definition at line 75 of file sensor_self.h.

analysis_t * _self::last_a
 

Definition at line 61 of file sensor_self.h.

Referenced by add_analysis().

protocol_t * _self::last_p
 

Definition at line 60 of file sensor_self.h.

Referenced by add_protocol().

double _self::latitude
 

Definition at line 73 of file sensor_self.h.

Referenced by find_neighbors(), and neighbor_discovery().

double _self::longitude
 

Definition at line 73 of file sensor_self.h.

Referenced by find_neighbors(), and neighbor_discovery().

char _self::mac_addr[MAC_ADDR_LEN]
 

Definition at line 58 of file sensor_self.h.

Referenced by find_neighbors(), init_n_entry(), init_self(), mesh_raw_send(), mesh_recv(), mesh_send(), route_discovery_done(), and send_routes().

struct avlnode* _self::n_iter
 

Definition at line 68 of file sensor_self.h.

Referenced by iterate_n_entries().

struct avltree _self::neighbors
 

Definition at line 67 of file sensor_self.h.

Referenced by add_n_entry(), empty_n_entries(), iterate_n_entries(), num_n_entries(), remove_n_entry(), and retrieve_n_entry().

char _self::netmask[NET_ADDR_LEN]
 

Definition at line 65 of file sensor_self.h.

Referenced by init_link_entry(), and init_self().

protocol_t* _self::protocols
 

Definition at line 60 of file sensor_self.h.

Referenced by add_protocol().

volatile unsigned int _self::shutdown
 

Definition at line 76 of file sensor_self.h.


The documentation for this struct was generated from the following file:
  • /home/brennan/n-sim/Vaike/linux/system-addons/networking/sensor_self.h


© 2007, Los Alamos National Security, LLC.