diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-03-12 13:16:24 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2020-03-13 00:05:07 +0000 |
commit | 0c889d6f5cfdbf008a345fa3292ee468931ab49a (patch) | |
tree | 10a858d36541aa0eb6abd767f1251130bfd1bf95 /cmakeconfig.h.in | |
parent | f77c677f186cae1e687767b7766cfdef62c533a1 (diff) |
Require at least libpcap 0.8/WinPcap 3.1.
2004 called, they want their libpcap/WinPcap back.
RHEL 6 initially shipped with libpcap 1.0; even old Enterprise(TM)
versions of OSes ship with something shinier than 0.7.x these days.
This lets us get rid of a bunch of #ifdefs and workaround code for
missing APIs.
Change-Id: I862cb027418b0a0c0f45a26979acea82f93f833b
Reviewed-on: https://code.wireshark.org/review/36383
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 450a110609..9da6a09dbd 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -40,9 +40,6 @@ /* Define to 1 if you have the <arpa/inet.h> header file. */ #cmakedefine HAVE_ARPA_INET_H 1 -/* Define to 1 if you have the `bpf_image' function. */ -#cmakedefine HAVE_BPF_IMAGE 1 - /* Define to 1 if you have the <fcntl.h> header file. */ #cmakedefine HAVE_FCNTL_H 1 @@ -202,55 +199,24 @@ /* Define to 1 if you have the macOS CFPropertyListCreateWithStream function */ #cmakedefine HAVE_CFPROPERTYLISTCREATEWITHSTREAM 1 -/* Define if pcap_breakloop is known */ -#cmakedefine HAVE_PCAP_BREAKLOOP 1 - /* Define to 1 if you have the `pcap_create' function. */ #cmakedefine HAVE_PCAP_CREATE 1 /* Define to 1 if the capture buffer size can be set. */ #cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1 -/* Define to 1 if you have the `pcap_datalink_name_to_val' function. */ -#cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1 - -/* Define to 1 if you have the `pcap_datalink_val_to_description' function. */ -#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1 - -/* Define to 1 if you have the `pcap_datalink_val_to_name' function. */ -#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1 - -/* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that - declares pcap_if_t. */ -#cmakedefine HAVE_PCAP_FINDALLDEVS 1 - /* Define to 1 if you have the `pcap_freecode' function. */ #cmakedefine HAVE_PCAP_FREECODE 1 /* Define to 1 if you have the `pcap_free_datalinks' function. */ #cmakedefine HAVE_PCAP_FREE_DATALINKS 1 -/* Define to 1 if you have the `pcap_get_selectable_fd' function. */ -#cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 1 - -/* Define to 1 if you have the `pcap_lib_version' function. */ -#cmakedefine HAVE_PCAP_LIB_VERSION 1 - -/* Define to 1 if you have the `pcap_list_datalinks' function. */ -#cmakedefine HAVE_PCAP_LIST_DATALINKS 1 - /* Define to 1 if you have the `pcap_open' function. */ #cmakedefine HAVE_PCAP_OPEN 1 -/* Define to 1 if you have the `pcap_open_dead' function. */ -#cmakedefine HAVE_PCAP_OPEN_DEAD 1 - /* Define to 1 if you have libpcap/WinPcap/Npcap remote capturing support. */ #cmakedefine HAVE_PCAP_REMOTE 1 -/* Define to 1 if you have the `pcap_set_datalink' function. */ -#cmakedefine HAVE_PCAP_SET_DATALINK 1 - /* Define to 1 if you have the `pcap_setsampling' function. */ #cmakedefine HAVE_PCAP_SETSAMPLING 1 |