Support for capturing packet data from a pipe (a FIFO, or standard input).
authoroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 30 Jul 2000 16:54:12 +0000 (16:54 +0000)
committeroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 30 Jul 2000 16:54:12 +0000 (16:54 +0000)
commitbac4c06d6b04b955ab55ca5b995b3fc1390d7af0
treeadcbd3c7de6a664de0eb9eef34bce72866a25166
parent0c2e6ee0fa6dcdb07897373c1d1ead387d27d15b
Support for capturing packet data from a pipe (a FIFO, or standard input).

capture.c :
- modified capture() to try to open an interface as a pipe if pcap_open_live()
  failed, and then read data in libpcap format from this pipe ;
- add new functions used by capture() : pipe_open_live() and pipe_dispatch()
  which are equivalents to the pcap_ functions.

libpcap.[ch] :
- moved the MAGIC and headers definitions from libpcap.c to libpcap.h
  because capture() now needs it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2181 f5534014-38df-0310-8fa8-9805f1628bb7
AUTHORS
capture.c
doc/ethereal.pod.template
wiretap/libpcap.c
wiretap/libpcap.h