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/OrbisQuartus/server/l4/ctl_client-l4.cpp File Reference

Client to master control for L4. More...

#include <l4/thread/thread.h>
#include <mini_mpi.h>
#include <daemon.h>
#include <configuration.h>
#include <mini_mpi-internal.h>
#include "lwip.h"

Go to the source code of this file.

Defines

#define MY_NC   ((struct netconn*)my_socket.nc)

Functions

void rcv_ctl_commands (void *unused)
void ctl_client (void *unused)

Variables

sockaddr_in head_addr
socket_ptr_t my_socket


Detailed Description

Client to master control for L4.

Revision
1.3

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

Author
sean_m_brennan

Created: February 8, 2006

Date
2007/10/11 17:13:29

Definition in file ctl_client-l4.cpp.


Define Documentation

#define MY_NC   ((struct netconn*)my_socket.nc)
 

Definition at line 47 of file ctl_client-l4.cpp.

Referenced by ctl_client(), MPI_Abort(), MPI_Barrier(), MPI_Finalize(), MPI_Gather(), MPI_Init(), MPI_Irecv(), MPI_Isend(), MPI_Recv(), MPI_Scatter(), MPI_Send(), and rcv_ctl_commands().


Function Documentation

void ctl_client void *  unused  ) 
 

Todo:
retrieve status for node

Definition at line 73 of file ctl_client-l4.cpp.

References daemon_quitting(), daemon_shuttingdown(), MY_NC, rcv_ctl_commands(), and status.

void rcv_ctl_commands void *  unused  ) 
 

Todo:
process commands from head node

Definition at line 50 of file ctl_client-l4.cpp.

References daemon_quitting(), daemon_shuttingdown(), MAX_MTU, memcpy, and MY_NC.

Referenced by ctl_client().


Variable Documentation

struct sockaddr_in head_addr
 

Definition at line 47 of file mini_mpi.c.

Referenced by MPI_Init().

socket_ptr_t my_socket
 

Definition at line 48 of file mini_mpi.c.

Referenced by MPI_Comm_socket(), and MPI_Init().


© 2007, Los Alamos National Security, LLC.