root/rat/trunk/statistics.h @ 1880

Revision 1880, 2.8 KB (checked in by ucacoxh, 16 years ago)

- RTCP last_active field was set in source codec time rather than device time

which would also cause participant to time out when it should not.

- Removed cur_time from chain of calls starting with statistics().

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2 * FILE:    statistics.h
3 * PROGRAM: RAT
4 * AUTHOR:  V.J.Hardman
5 * CREATED: 23/03/95
6 *
7 * $Revision$
8 * $Date$
9 *
10 * This module houses the routine from the main execution loop that monitors
11 * lost packets, duplicated packets etc.
12 *
13 * This routine fixes duplications - by throwing away the duplicates
14 *
15 * This module also contains irregularly executed stats analysis routines
16 *
17 * Input queue: netrx_queue Output Queue: receive_queue Stats Queue: Stats queue
18 *
19 * Copyright (c) 1995,1996 University College London
20 * All rights reserved.
21 *
22 * Redistribution and use in source and binary forms, with or without
23 * modification, is permitted, for non-commercial use only, provided
24 * that the following conditions are met:
25 * 1. Redistributions of source code must retain the above copyright
26 *    notice, this list of conditions and the following disclaimer.
27 * 2. Redistributions in binary form must reproduce the above copyright
28 *    notice, this list of conditions and the following disclaimer in the
29 *    documentation and/or other materials provided with the distribution.
30 * 3. All advertising materials mentioning features or use of this software
31 *    must display the following acknowledgement:
32 *      This product includes software developed by the Computer Science
33 *      Department at University College London
34 * 4. Neither the name of the University nor of the Department may be used
35 *    to endorse or promote products derived from this software without
36 *    specific prior written permission.
37 * Use of this software for commercial purposes is explicitly forbidden
38 * unless prior written permission is obtained from the authors.
39 *
40 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
41 * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
42 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
43 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
44 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
45 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 * SUCH DAMAGE.
51 */
52
53
54#ifndef _rat_statistics_h_
55#define _rat_statistics_h_
56
57#include "rat_time.h"
58
59struct session_tag;
60struct pckt_queue_tag;
61struct rx_queue_tag;
62struct s_cushion_struct;
63
64void statistics(struct session_tag *session_pointer,
65                struct pckt_queue_tag *netrx_pckt_queue,
66                struct rx_queue_tag *unitsrx_queue_ptr,
67                struct s_cushion_struct *cushion,
68                u_int32 real_time);
69
70#endif /* _rat_statistics_h_ */
Note: See TracBrowser for help on using the browser.