Changeset 755e794
- Timestamp:
- 09/18/06 21:03:34 (15 years ago)
- 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
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.in
r11346a5 r755e794 29 29 30 30 31 A C_CONFIG_HEADERS([config.h])31 AM_CONFIG_HEADER([config.h]) 32 32 dnl Checks for programs. 33 33 AC_PROG_CC … … 128 128 AC_REPLACE_FUNCS(pcap_next_ex) 129 129 AC_CHECK_FUNCS(pcap_inject pcap_sendpacket pcap_setnonblock) 130 AC_CHECK_DECLS([BIOCSETIF],,,[ 131 #include <sys/types.h> 132 #include <sys/time.h> 133 #include <sys/ioctl.h> 134 #include <net/bpf.h> 135 ]) 130 136 131 137 # configure time options for man pages 132 138 AC_ARG_WITH(man, 133 AS_HELP_STRING(--with-man,install man pages by default),139 #AS_HELP_STRING(--with-man,install man pages by default), 134 140 135 141 if test "$withval" = yes … … 146 152 # borrowed from libpcap! 147 153 AC_ARG_WITH(dag, 148 AS_HELP_STRING(--with-dag[=DIR],include DAG support (located in directory DIR, if supplied)),154 # AS_HELP_STRING(--with-dag[=DIR],include DAG support (located in directory DIR, if supplied)), 149 155 [ 150 156 if test "$withval" = no … … 229 235 fi 230 236 237 AM_CONDITIONAL([HAVE_BPF], [test "$ac_cv_have_decl_BIOCSETIF" = yes ]) 231 238 AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true]) 232 239 AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag2_4" = true]) … … 280 287 281 288 if test x"$libtrace_swig" = xtrue; then 289 H 282 290 if test x"$libtrace_python" = xtrue; then 283 291 AC_MSG_NOTICE([Building swig bindings for: python]) -
lib/Makefile.am
rc4cf162 r755e794 7 7 else 8 8 NATIVEFORMATS= 9 endif 10 11 if HAVE_BPF 12 BPFFORMATS=format_bpf.c 13 else 14 BPFFORMATS= 9 15 endif 10 16 … … 18 24 format_erf.c format_pcap.c format_wag.c format_legacy.c \ 19 25 format_rt.c format_helper.c format_helper.h format_pcapfile.c \ 20 format_duck.c $(NATIVEFORMATS) \26 format_duck.c $(NATIVEFORMATS) $(BPFFORMATS) \ 21 27 parse_cmd.c parse_cmd.h libtrace_int.h lt_inttypes.h \ 22 28 linktypes.c protocols.c libtraceio.h link_wireless.c -
lib/libtrace.h.in
r6df012d r755e794 1316 1316 TRACE_FORMAT_LEGACY_ETH =8, 1317 1317 TRACE_FORMAT_LINUX_NATIVE =9, 1318 TRACE_FORMAT_DUCK =10 1318 TRACE_FORMAT_DUCK =10, 1319 TRACE_FORMAT_BPF =11, 1319 1320 }; 1320 1321 -
lib/trace.c
re4976e1 r755e794 231 231 pcap_constructor(); 232 232 #endif 233 #if HAVE_BIOCSETIF 234 bpf_constructor(); 235 #endif 233 236 pcapfile_constructor(); 234 237 rt_constructor();
Note: See TracChangeset
for help on using the changeset viewer.