4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since d3ff1fb was
9c6aa95,
checked in by Daniel Lawson <dlawson@…>, 17 years ago
|
cleaned up after compiling with -Wall -W
|
-
Property mode set to
100644
|
File size:
336 bytes
|
Rev | Line | |
---|
[5c88a60] | 1 | #include "../config.h" |
---|
| 2 | |
---|
| 3 | #ifndef HAVE_PCAP_DUMP_FLUSH |
---|
| 4 | #include <stdio.h> |
---|
| 5 | #include <pcap.h> |
---|
| 6 | #if HAVE_PCAP_INT_H |
---|
| 7 | # include <pcap-int.h> |
---|
| 8 | #else |
---|
[9c6aa95] | 9 | //# error "Need pcap-int.h for declaration of pcap_t" |
---|
[5c88a60] | 10 | #endif |
---|
| 11 | #include <string.h> |
---|
| 12 | |
---|
| 13 | int pcap_dump_flush(pcap_dumper_t *p) { |
---|
| 14 | if (fflush((FILE *)p) == EOF) |
---|
| 15 | return (-1); |
---|
| 16 | else |
---|
| 17 | return (0); |
---|
| 18 | } |
---|
| 19 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.