Changeset e5c2bc4 for lib/libtrace_int.h


Ignore:
Timestamp:
06/27/06 12:41:26 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
496864e
Parents:
9461526
Message:

Redo the build system for libtrace3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    re2d5893 re5c2bc4  
    6363#include "rt_protocol.h"
    6464       
    65 #if HAVE_PCAP_BPF_H
     65#ifdef HAVE_PCAP_BPF_H
    6666#  include <pcap-bpf.h>
     67#  define HAVE_BPF 1
    6768#else
    6869#  ifdef HAVE_NET_BPF_H
    6970#    include <net/bpf.h>
     71#    define HAVE_BPF 1
    7072#  endif
    7173#endif
    7274
    73 #if HAVE_PCAP_H
     75#ifdef HAVE_PCAP_H
    7476#  include <pcap.h>
    7577#  ifdef HAVE_PCAP_INT_H
     
    7880#endif
    7981
    80 #if HAVE_ZLIB_H
     82#ifdef HAVE_ZLIB_H
    8183#  include <zlib.h>
    8284#endif
     
    359361bool demote_packet(libtrace_packet_t *packet);
    360362
    361 #if HAVE_BPF
     363#ifdef HAVE_BPF
    362364/* A type encapsulating a bpf filter
    363365 * This type covers the compiled bpf filter, as well as the original filter
     
    370372        char * filterstring;
    371373};
     374#else
     375struct libtrace_filter_t {};
    372376#endif
    373377
Note: See TracChangeset for help on using the changeset viewer.