IPC Tester

IPC tester and task faulter. More...

Files

file  ipcc.c

Defines

#define TEST_START   10000
#define MAXLIST   4
#define MSG_HANG_ME_UP   2000

Functions

static void client_connection (ipc_callid_t iid, ipc_call_t *icall)
static void printhelp (void)
static void callback (void *private, int retval, ipc_call_t *data)
static void do_answer_msg (void)
static void do_send_msg (int async)
static void do_hangup (void)
static void do_connect (void)
int main (void)

Variables

static int connections [50]
static ipc_callid_t callids [50]
static int phones [20]
static int myservice = 0

Detailed Description


Define Documentation

#define TEST_START   10000
 

Definition at line 43 of file ipcc.c.

Referenced by do_connect(), and main().

#define MAXLIST   4
 

Definition at line 44 of file ipcc.c.

#define MSG_HANG_ME_UP   2000
 

Definition at line 46 of file ipcc.c.


Function Documentation

static void client_connection ipc_callid_t  iid,
ipc_call_t icall
[static]
 

Definition at line 53 of file ipcc.c.

References connections, ipc_call_t::in_phone_hash, ipc_answer_fast(), and printf().

Here is the call graph for this function:

static void printhelp void   )  [static]
 

Definition at line 89 of file ipcc.c.

References printf().

Here is the call graph for this function:

static void callback void *  private,
int  retval,
ipc_call_t data
[static]
 

Definition at line 102 of file ipcc.c.

References printf().

Referenced by do_send_msg(), and ipc_prepare_async().

Here is the call graph for this function:

static void do_answer_msg void   )  [static]
 

Definition at line 108 of file ipcc.c.

References callids, and printf().

Here is the call graph for this function:

static void do_send_msg int  async  )  [static]
 

Definition at line 150 of file ipcc.c.

References callback(), getchar(), ipc_call_async, ipc_call_sync_2, NULL, and printf().

Here is the call graph for this function:

static void do_hangup void   )  [static]
 

Definition at line 174 of file ipcc.c.

References getchar(), ipc_hangup(), and printf().

Here is the call graph for this function:

static void do_connect void   )  [static]
 

Definition at line 191 of file ipcc.c.

References getchar(), ipc_connect_me_to(), myservice, phones, printf(), and TEST_START.

Here is the call graph for this function:

int main void   ) 
 

Definition at line 217 of file ipcc.c.

References async_set_client_connection(), client_connection, ipc_connect_to_me(), printf(), and TEST_START.

Here is the call graph for this function:


Variable Documentation

int connections[50] [static]
 

Definition at line 48 of file ipcc.c.

ipc_callid_t callids[50] [static]
 

Definition at line 49 of file ipcc.c.

Referenced by do_answer_msg().

int phones[20] [static]
 

Definition at line 50 of file ipcc.c.

Referenced by do_connect().

int myservice = 0 [static]
 

Definition at line 51 of file ipcc.c.

Referenced by do_connect().


Generated on Sun Jun 18 18:13:56 2006 for HelenOS Userspace (ppc32) by  doxygen 1.4.6