1 /* 2 3 Copyright 2008--2013, Centre for Advanced Internet Architectures, 4 Swinburne University of Technology, http://caia.swin.edu.au 5 6 Author: Amiel Heyde, amiel@swin.edu.au 7 8 This program is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License version 2 as 10 published by the Free Software Foundation. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 21 $Id: record.h 160 2013-08-16 01:15:19Z szander $ 22 23 */ 24 25 #ifndef RECORD_H 26 #define RECORD_H 27 #include "spptool.h" 28 typedef struct Record { 29 uint64_t pkt_id; 30 struct timeval ts[2]; 31 TAILQ_ENTRY(Record) entries; 32 } record_t; 33 34 35 record_t * createRecord(direction_t direction); 36 37 #endif 38