Changeset 755e794 for lib


Ignore:
Timestamp:
09/18/06 21:03:34 (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:
eecda9f
Parents:
103cc3b
Message:

Add /dev/bpf capture support for the ThreeBSD's

Location:
lib
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    rc4cf162 r755e794  
    77else
    88NATIVEFORMATS=
     9endif
     10
     11if HAVE_BPF
     12BPFFORMATS=format_bpf.c
     13else
     14BPFFORMATS=
    915endif
    1016
     
    1824                format_erf.c format_pcap.c format_wag.c format_legacy.c \
    1925                format_rt.c format_helper.c format_helper.h format_pcapfile.c \
    20                 format_duck.c $(NATIVEFORMATS) \
     26                format_duck.c $(NATIVEFORMATS) $(BPFFORMATS) \
    2127                parse_cmd.c parse_cmd.h libtrace_int.h lt_inttypes.h \
    2228                linktypes.c protocols.c libtraceio.h link_wireless.c
  • lib/libtrace.h.in

    r6df012d r755e794  
    13161316        TRACE_FORMAT_LEGACY_ETH   =8,
    13171317        TRACE_FORMAT_LINUX_NATIVE =9,
    1318         TRACE_FORMAT_DUCK         =10
     1318        TRACE_FORMAT_DUCK         =10,
     1319        TRACE_FORMAT_BPF          =11,
    13191320};
    13201321
  • lib/trace.c

    re4976e1 r755e794  
    231231                pcap_constructor();
    232232#endif
     233#if HAVE_BIOCSETIF
     234                bpf_constructor();
     235#endif
    233236                pcapfile_constructor();
    234237                rt_constructor();
Note: See TracChangeset for help on using the changeset viewer.