Flowgrind
Advanced TCP traffic generator
source.h
Go to the documentation of this file.
1 
6 /*
7  * Copyright (C) 2010-2013 Christian Samsel <christian.samsel@rwth-aachen.de>
8  * Copyright (C) 2009 Tim Kosse <tim.kosse@gmx.de>
9  * Copyright (C) 2007-2008 Daniel Schaffrath <daniel.schaffrath@mac.com>
10  *
11  * This file is part of Flowgrind.
12  *
13  * Flowgrind is free software: you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation, either version 3 of the License, or
16  * (at your option) any later version.
17  *
18  * Flowgrind is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with Flowgrind. If not, see <http://www.gnu.org/licenses/>.
25  *
26  */
27 
28 #ifndef _SOURCE_H_
29 #define _SOURCE_H_
30 
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif /* HAVE_CONFIG_H */
34 
36 int do_connect(struct flow *flow);
37 
38 #endif /* _SOURCE_H_ */
do_connect
int do_connect(struct flow *flow)
Establishes a connection of a flow.
Definition: source.c:153
flow
Definition: daemon.h:73
request_add_flow_source
Definition: daemon.h:206
request
Definition: daemon.h:179
add_flow_source
int add_flow_source(struct request_add_flow_source *request)
To set daemon flow as source endpoint.
Definition: source.c:177
config.h