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

WSN mesh network packet analysis registry. More...

#include <sys/socket.h>

Go to the source code of this file.

Classes

struct  _analysis

Defines

#define ANLY_NAMELEN   64

Typedefs

typedef _analysis analysis_t

Functions

int add_analysis (struct _self *self, char *name, int id, char *path, size_t ctl_size, char *analysis_fctn)
int delete_analysis (struct _self *self, char *string)
analysis_tanalysis_by_string (struct _self *self, char *string)
analysis_tanalysis_by_id (struct _self *self, int id)
int analyze (struct _self *self, struct msghdr *mh)


Detailed Description

WSN mesh network packet analysis registry.

Revision
1.1

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: August 1, 2007

Date
2008/02/05 19:14:30

Definition in file mesh_analysis.h.


Define Documentation

#define ANLY_NAMELEN   64
 

Definition at line 42 of file mesh_analysis.h.

Referenced by add_analysis().


Typedef Documentation

typedef struct _analysis analysis_t
 


Function Documentation

int add_analysis struct _self self,
char *  name,
int  id,
char *  path,
size_t  ctl_size,
char *  analysis_fctn
 

analysis_t* analysis_by_id struct _self self,
int  id
 

Definition at line 112 of file mesh_analysis.c.

References _analysis::next, and _analysis::unique_id.

analysis_t* analysis_by_string struct _self self,
char *  string
 

Definition at line 100 of file mesh_analysis.c.

References _analysis::name, and _analysis::next.

int analyze struct _self self,
struct msghdr *  mh
 

Definition at line 124 of file mesh_analysis.c.

References _analysis::mesh_analysis.

Referenced by mesh_recvmsg().

int delete_analysis struct _self self,
char *  string
 

Definition at line 80 of file mesh_analysis.c.

References _analysis::next.


© 2007, Los Alamos National Security, LLC.