mtr/raw.h
Guo Yixuan bafad6148d Raw output: add x for a ping-packet-sent event.
This is needed for loss rate calculation.
Supports ICMP/UDP/TCP.
Also adds sequence number to pingline.
2015-07-08 20:58:57 -04:00

25 lines
945 B
C

/*
mtr -- a network diagnostic tool
Copyright (C) 1998 R.E.Wolff@BitWizard.nl
raw.h -- raw output (for logging for later analysis)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* Prototypes for raw.c */
void raw_rawxmit(int host, int seq);
void raw_rawping(int host, int msec, int seq);
void raw_rawhost(int host, ip_t * addr);