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_discovery.h File Reference

WSN mesh network routing. More...

#include "mesh_protocol.h"

Go to the source code of this file.

Defines

#define MESH_DISCOVERY_PORT   654

Enumerations

enum  { MESH_DISCOVER = 0, MESH_REDISCOVER }

Functions

int propagate_routes (protocol_t *proto, int flags)
void * discover_network (void *protocol)


Detailed Description

WSN mesh network routing.

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:44

Definition in file mesh_discovery.h.


Define Documentation

#define MESH_DISCOVERY_PORT   654
 

Definition at line 40 of file mesh_discovery.h.

Referenced by propagate_routes(), and strength_send_mesh_discovery().


Enumeration Type Documentation

anonymous enum
 

We borrow the IANA assigned AODV port * http://www.iana.org/assignments/port-numbers

Enumerator:
MESH_DISCOVER 
MESH_REDISCOVER 

Definition at line 45 of file mesh_discovery.h.


Function Documentation

void* discover_network void *  protocol  ) 
 

Definition at line 153 of file mesh_discovery.c.

Referenced by add_protocol().

int propagate_routes protocol_t proto,
int  flags
 

Definition at line 62 of file mesh_discovery.c.

References error, _self::interface, MESH_DISCOVERY_PORT, _protocol::mesh_route_send, mesh_send_mutex, mesh_socket(), _protocol::proactive, and _protocol::sensor.


© 2007, Los Alamos National Security, LLC.