N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

_protocol Struct Reference

#include <mesh_protocol.h>

List of all members.

Public Attributes

char name [PROTO_NAMELEN]
unsigned short unique_id
unsigned int timeout
unsigned char proactive
unsigned char reactive
avltree network
avlnodeiterator
unsigned int db_altered
int queue_sd
unsigned int sendqueue_size
u_int64_t queue_timeout
unsigned int mtu
size_t ctl_size
void * lib_handle
void(* mesh_init_discovery )(struct _protocol *proto, u_int32_t dest)
int(* mesh_route_send )(struct _protocol *proto, int sd, int flags)
int(* mesh_route_recv )(struct _protocol *proto, int sd, int num_links)
_selfsensor
_protocolnext
pthread_t discover_thread


Detailed Description

Definition at line 48 of file mesh_protocol.h.


Member Data Documentation

size_t _protocol::ctl_size
 

Definition at line 63 of file mesh_protocol.h.

Referenced by max_ctl_size().

unsigned int _protocol::db_altered
 

Definition at line 57 of file mesh_protocol.h.

Referenced by strength_send_mesh_discovery().

pthread_t _protocol::discover_thread
 

Definition at line 72 of file mesh_protocol.h.

Referenced by add_protocol().

struct avlnode* _protocol::iterator
 

Definition at line 56 of file mesh_protocol.h.

Referenced by empty_entries(), iterate_entries(), and reliable_net().

void* _protocol::lib_handle
 

Definition at line 65 of file mesh_protocol.h.

Referenced by add_protocol().

void(* _protocol::mesh_init_discovery)(struct _protocol *proto, u_int32_t dest)
 

Referenced by add_protocol(), and on_demand().

int(* _protocol::mesh_route_recv)(struct _protocol *proto, int sd, int num_links)
 

Referenced by add_protocol(), and recv_mesh_discovery().

int(* _protocol::mesh_route_send)(struct _protocol *proto, int sd, int flags)
 

Referenced by add_protocol(), and propagate_routes().

unsigned int _protocol::mtu
 

Definition at line 62 of file mesh_protocol.h.

char _protocol::name[PROTO_NAMELEN]
 

Definition at line 49 of file mesh_protocol.h.

Referenced by add_protocol(), and protocol_by_string().

struct avltree _protocol::network
 

Definition at line 55 of file mesh_protocol.h.

Referenced by add_entry(), empty_entries(), iterate_entries(), num_entries(), remove_entry(), and retrieve_entry().

struct _protocol* _protocol::next
 

Definition at line 71 of file mesh_protocol.h.

Referenced by delete_protocol(), max_ctl_size(), packet_usage(), protocol_by_id(), protocol_by_string(), and reliable_net().

unsigned char _protocol::proactive
 

Definition at line 52 of file mesh_protocol.h.

Referenced by add_protocol(), and propagate_routes().

int _protocol::queue_sd
 

Definition at line 59 of file mesh_protocol.h.

Referenced by route_discovery_done().

u_int64_t _protocol::queue_timeout
 

Definition at line 61 of file mesh_protocol.h.

Referenced by add_msg().

unsigned char _protocol::reactive
 

Definition at line 53 of file mesh_protocol.h.

Referenced by add_protocol().

unsigned int _protocol::sendqueue_size
 

Definition at line 60 of file mesh_protocol.h.

struct _self* _protocol::sensor
 

Definition at line 70 of file mesh_protocol.h.

Referenced by add_protocol(), init_link(), init_link_entry(), mesh_raw_send(), mesh_send(), propagate_routes(), recv_mesh_discovery(), route_discovery_done(), and strength_send_mesh_discovery().

unsigned int _protocol::timeout
 

Definition at line 51 of file mesh_protocol.h.

Referenced by add_protocol().

unsigned short _protocol::unique_id
 

Definition at line 50 of file mesh_protocol.h.

Referenced by add_protocol(), mesh_raw_send(), mesh_send(), new_database(), and protocol_by_id().


The documentation for this struct was generated from the following file:


© 2007, Los Alamos National Security, LLC.