-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscamper_do_ping.h
46 lines (37 loc) · 1.45 KB
/
scamper_do_ping.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* scamper_do_ping.h
*
* $Id: scamper_do_ping.h,v 1.10 2008/12/04 00:23:05 mjl Exp $
*
* Copyright (C) 2005-2008 The University of Waikato
* Author: Matthew Luckie
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef __SCAMPER_DO_PING_H
#define __SCAMPER_DO_PING_H
scamper_ping_t *scamper_do_ping_alloc(const control_word_t *words,
size_t word_count,
const char **error_msg);
int scamper_do_ping_dstaddr(void *data, void *param,
int (*foreach)(struct scamper_addr *, void *));
scamper_task_t *scamper_do_ping_alloctask(scamper_ping_t *ping,
scamper_writebuf_t *wb);
int scamper_do_ping_arg_validate(int argc, char *argv[], int *stop);
void scamper_do_ping_free(void *data);
const char *scamper_do_ping_usage(void);
void scamper_do_ping_cleanup(void);
int scamper_do_ping_init(void);
#endif /* __SCAMPER_DO_PING_H */