~ignacio-nin/tcprstat/trunk

5 by Ignacio Nin
Licence
1
/**
72 by Ignacio Nin
Changed project name to tcprstat
2
 *   tcprstat -- Extract stats about TCP response times
5 by Ignacio Nin
Licence
3
 *   Copyright (C) 2010  Ignacio Nin
4
 *
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
8
 *   (at your option) any later version.
9
 *
10
 *   This program is distributed in the hope that it will be useful,
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *   GNU General Public License for more details.
14
 *
15
 *   You should have received a copy of the GNU General Public License
16
 *   along with this program; if not, write to the Free Software
17
 *   Foundation, Inc.,
18
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
 *
20
**/
21
2 by Ignacio Nin
New files
22
#if !defined CAPTURE_H
23
#define CAPTURE_H
24
62.1.2 by Ignacio Nin
Savefiles
25
#include <stdio.h>
2 by Ignacio Nin
New files
26
69 by Ignacio Nin
Magic numbers
27
#define CAPTURE_LENGTH		65535
28
#define READ_TIMEOUT		2000
29
2 by Ignacio Nin
New files
30
void *capture(void *);
31
void endcapture(void);
32
62.1.2 by Ignacio Nin
Savefiles
33
int offline_capture(FILE *);
34
2 by Ignacio Nin
New files
35
#endif