tcpdump mailing list archives
Re: savefile.c patch
From: "Gisle Vanem" <giva () bgnett no>
Date: Thu, 27 May 2004 14:22:57 +0200
"Guy Harris" <guy () alum mit edu> said:
Also, should we save the mode returned by "setmode()" and restore it when we close a "pcap_t" or "pcap_dumper_t" that refers to the standard input or output?
Since pcap_dump_close() doesn't have a pcap_t argument, where should the oldmode come from? Can we have two module globals; oldmode_stdin, oldmode_stdout, assuming stdin/stdout won't be opened for capture more than once? Ideally it should be "pcap_dump_flush(pcap_t *p)", but too late to change that now. --gv - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- savefile.c patch Gisle Vanem (May 26)
- Re: savefile.c patch Guy Harris (May 26)
- Re: savefile.c patch Gisle Vanem (May 26)
- Re: savefile.c patch Guy Harris (May 26)
- Re: savefile.c patch Guy Harris (May 26)
- Re: savefile.c patch Gisle Vanem (May 27)
- Re: savefile.c patch Gisle Vanem (May 27)
- Re: savefile.c patch Guy Harris (May 27)
- How to extract the source name field data of the netbeui (NBF) protocol Bassam A. Al-Khaffaf (May 27)
- Re: How to extract the source name field data of Jun-ichiro itojun Hagino (May 27)
- Re: How to extract the source name field data of Bassam A. Al-Khaffaf (May 27)
- Re: How to extract the source name field data of Jun-ichiro itojun Hagino (May 28)
- Re: How to extract the source name field data of Guy Harris (May 28)
- Re: How to extract the source name field data of Guy Harris (May 30)
- libpcap tutorial Bassam A. Al-Khaffaf (May 31)
- pcab and libpcap differences? Bassam A. Al-Khaffaf (May 31)
- Re: savefile.c patch Gisle Vanem (May 26)
- Re: savefile.c patch Guy Harris (May 26)