Main Page   Compound List   File List   Compound Members   File Members  

echo.c File Reference

#include "speakfree.h"
#include "version.h"
#include "vat.h"

Compounds

struct  connection
struct  queuedPacket

Defines

#define Echo_Base   0
#define Echo_Time   10
#define LWL_RETRANSMIT   (5 * 60 * 1000000.0)
#define connection   e_connection
#define Debug   (debugforce != 0)
#define TickTock   (10 * 1000000L)
#define TockTock   (60 * 1000000L)
#define Timer_Epsilon   4000
#define Timer_Latency   2000
#define Constrain(x, vmin, vmax)   ((x) < (vmin) ? (vmin) : ((x) > (vmax) ? (vmax) : (x)))

Functions

char * etime (void)
char * compressionType (soundbuf *msg, int clue)
void makeSessionKey (char *key)
void ularm (long t)
void sendLwlMessage (int dobye)
void release ()
void exiting ()
char * prog_name (char *arg)
void usage (void)
int main (int argc, char *argv[])

Variables

int debugforce = 0
int whichport = Internet_Port + Echo_Base
int sock
int ssock
sockaddr_in from
sockaddr_in name
int fromlen
int showhosts = FALSE
int hosttimeout = 180 * 1000000L
char * prog
long timebase
sockaddr_in lookhost
char * sdes = NULL
int sdesl
unsigned long ssrc
double lwltimer
int actives = 0
in_addr lwl_sites [LWL_MAX_SITES]
long lwl_ports [LWL_MAX_SITES]
int lwl_nsites = 0
int debug_packet_drop = 0
int debug_packet_shuffle = 0
int debug_packet_shuffle_depth = 10
connectionconn = NULL
queuedPacketqph = NULL
queuedPacketqptail = NULL
int crit = FALSE
int clash = FALSE

Define Documentation

#define connection   e_connection
 

#define Constrain x,
vmin,
vmax       ((x) < (vmin) ? (vmin) : ((x) > (vmax) ? (vmax) : (x)))
 

#define Debug   (debugforce != 0)
 

#define Echo_Base   0
 

#define Echo_Time   10
 

#define LWL_RETRANSMIT   (5 * 60 * 1000000.0)
 

#define TickTock   (10 * 1000000L)
 

#define Timer_Epsilon   4000
 

#define Timer_Latency   2000
 

#define TockTock   (60 * 1000000L)
 


Function Documentation

char* compressionType soundbuf   msg,
int    clue
[static]
 

char* etime void    [static]
 

void exiting   [static]
 

int main int    argc,
char *    argv[]
 

void makeSessionKey char *    key [static]
 

char* prog_name char *    arg [static]
 

void release   [static]
 

void sendLwlMessage int    dobye [static]
 

void ularm long    t [static]
 

void usage void    [static]
 


Variable Documentation

int actives = 0 [static]
 

int clash = FALSE [static]
 

struct connection* conn = NULL
 

int crit = FALSE [static]
 

int debug_packet_drop = 0 [static]
 

int debug_packet_shuffle = 0 [static]
 

int debug_packet_shuffle_depth = 10 [static]
 

int debugforce = 0 [static]
 

struct sockaddr_in from [static]
 

int fromlen [static]
 

int hosttimeout = 180 * 1000000L [static]
 

struct sockaddr_in lookhost [static]
 

int lwl_nsites = 0 [static]
 

long lwl_ports[LWL_MAX_SITES] [static]
 

struct in_addr lwl_sites[LWL_MAX_SITES] [static]
 

double lwltimer [static]
 

struct sockaddr_in name [static]
 

char* prog [static]
 

struct queuedPacket* qph = NULL
 

struct queuedPacket * qptail = NULL
 

char* sdes = NULL [static]
 

int sdesl [static]
 

int showhosts = FALSE [static]
 

int sock [static]
 

int ssock [static]
 

unsigned long ssrc [static]
 

long timebase [static]
 

int whichport = Internet_Port + Echo_Base [static]
 


Generated on Tue Feb 10 08:44:18 2004 for Speak-FreelyforUnix by doxygen1.2.18