Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap libpcap.c libpcap.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Olivier Abad <oabad@xxxxxxxxxxxx>
Date: Sun, 30 Jul 2000 11:54:22 -0500 (CDT)
oabad       2000/07/30 11:54:18 CDT

  Modified files:
    wiretap              libpcap.c libpcap.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.37      +1 -63     ethereal/wiretap/libpcap.c
  1.8       +63 -1     ethereal/wiretap/libpcap.h