Enumerations | Functions | Variables
proc.c File Reference
#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <asm/uaccess.h>
#include <linux/proc_fs.h>
#include "config/compiler.h"
#include "core/interface/wmp_interface.h"
#include "core/include/lqm.h"
Include dependency graph for proc.c:

Go to the source code of this file.

Enumerations

enum  tpClose {
  NODEID, NUMOFNODES, LATESTLQM, LATESTDISTANCES,
  NETWORKCONNECTED, CPUDELAY, TIMEOUT, WCMULT,
  RATE, FREEPOSTX, ELEMSTX, ELEMSRX,
  NETIT, GETMTU, ACTIVESEARCH, INSTANCEID,
  PRIMBASEDROUTING, MESSAGERESCHEDULE, FLOWCONTROL, SERIAL,
  LOOPID, ALL
}

Functions

void __close_proc (tpClose where)
void close_proc (void)
int f_activeSearch_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_activeSearch_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_CpuDelay_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_CpuDelay_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_flowControl_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_flowControl_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_getElementsInRXQueue (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getElementsInTXQueue (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getFreePositionsInTXQueue (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getLatestDistances (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getLatestLQM (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getMTU (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getNetIT (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getNodeId (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_getNumOfNodes (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_instanceId_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_instanceId_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_loopId (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_messageReschedule_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_messageReschedule_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_networkConnected (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_primBasedRouting_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_primBasedRouting_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_Rate_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_Rate_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_serial (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_Timeout_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_Timeout_write (struct file *f, const char __user *buff, unsigned long len, void *data)
int f_WCMult_read (char *page, char **start, off_t off, int count, int *eof, void *data)
int f_WCMult_write (struct file *f, const char __user *buff, unsigned long len, void *data)
struct proc_dir_entry * get_proc_root ()
int init_proc (void)

Variables

static struct proc_dir_entry * directory
static struct proc_dir_entry * fActiveSearch
static struct proc_dir_entry * fCpuDelay
static struct proc_dir_entry * fElementsInRXQueue
static struct proc_dir_entry * fElementsInTXQueue
static struct proc_dir_entry * fFlowControl
static struct proc_dir_entry * fFreePositionsInTXQueue
static struct proc_dir_entry * fInstanceId
static struct proc_dir_entry * fLatestDistances
static struct proc_dir_entry * fLatestLQM
static struct proc_dir_entry * fLoopId
static struct proc_dir_entry * fMessageReschedule
static struct proc_dir_entry * fMTU
static struct proc_dir_entry * fNetIT
static struct proc_dir_entry * fNetworkConnected
static struct proc_dir_entry * fNodeId
static struct proc_dir_entry * fNumOfNodes
static struct proc_dir_entry * fPrimBasedRouting
static struct proc_dir_entry * fRate
static struct proc_dir_entry * fSerial
static struct proc_dir_entry * fTimeout
static struct proc_dir_entry * fWCMult

Enumeration Type Documentation

enum tpClose
Enumerator:
NODEID 
NUMOFNODES 
LATESTLQM 
LATESTDISTANCES 
NETWORKCONNECTED 
CPUDELAY 
TIMEOUT 
WCMULT 
RATE 
FREEPOSTX 
ELEMSTX 
ELEMSRX 
NETIT 
GETMTU 
ACTIVESEARCH 
INSTANCEID 
PRIMBASEDROUTING 
MESSAGERESCHEDULE 
FLOWCONTROL 
SERIAL 
LOOPID 
ALL 

Definition at line 476 of file proc.c.


Function Documentation

void __close_proc ( tpClose  where)

Definition at line 482 of file proc.c.

void close_proc ( void  )

Definition at line 693 of file proc.c.

int f_activeSearch_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 342 of file proc.c.

int f_activeSearch_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 323 of file proc.c.

int f_CpuDelay_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 155 of file proc.c.

int f_CpuDelay_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 164 of file proc.c.

int f_flowControl_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 446 of file proc.c.

int f_flowControl_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 431 of file proc.c.

int f_getElementsInRXQueue ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 293 of file proc.c.

int f_getElementsInTXQueue ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 283 of file proc.c.

int f_getFreePositionsInTXQueue ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 273 of file proc.c.

int f_getLatestDistances ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 122 of file proc.c.

int f_getLatestLQM ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 101 of file proc.c.

int f_getMTU ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 313 of file proc.c.

int f_getNetIT ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 303 of file proc.c.

int f_getNodeId ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 81 of file proc.c.

int f_getNumOfNodes ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 91 of file proc.c.

int f_instanceId_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 371 of file proc.c.

int f_instanceId_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 352 of file proc.c.

int f_loopId ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 466 of file proc.c.

int f_messageReschedule_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 421 of file proc.c.

int f_messageReschedule_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 406 of file proc.c.

int f_networkConnected ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 140 of file proc.c.

int f_primBasedRouting_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 396 of file proc.c.

int f_primBasedRouting_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 381 of file proc.c.

int f_Rate_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 243 of file proc.c.

int f_Rate_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 257 of file proc.c.

int f_serial ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 456 of file proc.c.

int f_Timeout_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 186 of file proc.c.

int f_Timeout_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 195 of file proc.c.

int f_WCMult_read ( char *  page,
char **  start,
off_t  off,
int  count,
int *  eof,
void *  data 
)

Definition at line 217 of file proc.c.

int f_WCMult_write ( struct file *  f,
const char __user *  buff,
unsigned long  len,
void *  data 
)

Definition at line 227 of file proc.c.

struct proc_dir_entry* get_proc_root ( void  ) [read]

Definition at line 532 of file proc.c.

int init_proc ( void  )

Definition at line 538 of file proc.c.


Variable Documentation

struct proc_dir_entry* directory [static]

Definition at line 47 of file proc.c.

struct proc_dir_entry* fActiveSearch [static]

Definition at line 68 of file proc.c.

struct proc_dir_entry* fCpuDelay [static]

Definition at line 56 of file proc.c.

struct proc_dir_entry* fElementsInRXQueue [static]

Definition at line 63 of file proc.c.

struct proc_dir_entry* fElementsInTXQueue [static]

Definition at line 62 of file proc.c.

struct proc_dir_entry* fFlowControl [static]

Definition at line 73 of file proc.c.

struct proc_dir_entry* fFreePositionsInTXQueue [static]

Definition at line 61 of file proc.c.

struct proc_dir_entry* fInstanceId [static]

Definition at line 70 of file proc.c.

struct proc_dir_entry* fLatestDistances [static]

Definition at line 52 of file proc.c.

struct proc_dir_entry* fLatestLQM [static]

Definition at line 51 of file proc.c.

struct proc_dir_entry* fLoopId [static]

Definition at line 76 of file proc.c.

struct proc_dir_entry* fMessageReschedule [static]

Definition at line 72 of file proc.c.

struct proc_dir_entry* fMTU [static]

Definition at line 66 of file proc.c.

struct proc_dir_entry* fNetIT [static]

Definition at line 65 of file proc.c.

struct proc_dir_entry* fNetworkConnected [static]

Definition at line 54 of file proc.c.

struct proc_dir_entry* fNodeId [static]

Definition at line 49 of file proc.c.

struct proc_dir_entry* fNumOfNodes [static]

Definition at line 50 of file proc.c.

struct proc_dir_entry* fPrimBasedRouting [static]

Definition at line 71 of file proc.c.

struct proc_dir_entry* fRate [static]

Definition at line 59 of file proc.c.

struct proc_dir_entry* fSerial [static]

Definition at line 75 of file proc.c.

struct proc_dir_entry* fTimeout [static]

Definition at line 57 of file proc.c.

struct proc_dir_entry* fWCMult [static]

Definition at line 58 of file proc.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:57