/*
* scamper.h
*
* $Id: scamper.h,v 1.37 2007/05/14 02:44:30 mjl Exp $
*
* Copyright (C) 2003-2007 The University of Waikato
*
* 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_H
#define __SCAMPER_H
#define SCAMPER_HOLDTIME_MIN 0
#define SCAMPER_HOLDTIME_DEF 0
#define SCAMPER_HOLDTIME_MAX 255
int scamper_holdtime_get(void);
int scamper_holdtime_set(const int holdtime);
#define SCAMPER_PPS_MIN 1
#define SCAMPER_PPS_MAX 1000
#define SCAMPER_PPS_DEF 20
int scamper_pps_get(void);
int scamper_pps_set(const int pps);
#define SCAMPER_SPORT_MIN 1
#define SCAMPER_SPORT_MAX 65535
int scamper_sport_get(void);
int scamper_sport_set(const int sport);
#define SCAMPER_COMMAND_DEF "trace"
const char *scamper_command_get(void);
int scamper_command_set(const char *command);
const char *scamper_monitorname_get(void);
int scamper_monitorname_set(const char *monitorname);
int scamper_option_dl(void);
int scamper_option_listid(void);
int scamper_option_cycleid(void);
const char *scamper_option_listname(void);
void scamper_exitwhendone(const int on);
#define SCAMPER_VERSION "20070527g"
#endif /* __SCAMPER_H */
syntax highlighted by Code2HTML, v. 0.9.1