Changeset ebf8071 for lib/pcap_dump_flush.c
- Timestamp:
- 02/09/10 13:46:08 (12 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- eda2def
- Parents:
- f6730d8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/pcap_dump_flush.c
r5551415 rebf8071 1 /* 2 * This file is part of libtrace 3 * 4 * Copyright (c) 2007,2008,2009,2010 The University of Waikato, Hamilton, 5 * New Zealand. 6 * 7 * Authors: Daniel Lawson 8 * Perry Lorier 9 * Shane Alcock 10 * 11 * All rights reserved. 12 * 13 * This code has been developed by the University of Waikato WAND 14 * research group. For further information please see http://www.wand.net.nz/ 15 * 16 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by 18 * the Free Software Foundation; either version 2 of the License, or 19 * (at your option) any later version. 20 * 21 * libtrace is distributed in the hope that it will be useful, 22 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 * GNU General Public License for more details. 25 * 26 * You should have received a copy of the GNU General Public License 27 * along with libtrace; if not, write to the Free Software 28 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 * 30 * $Id$ 31 * 32 */ 33 1 34 #ifdef HAVE_PCAP 2 35 #include "config.h" … … 10 43 #include <string.h> 11 44 45 /* Custom implementation of pcap_dump_flush, as some versions of PCAP do not 46 * have it */ 47 12 48 int pcap_dump_flush(pcap_dumper_t *p) { 13 49 if (fflush((FILE *)p) == EOF)
Note: See TracChangeset
for help on using the changeset viewer.