# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Microsoft Corporation
if not dpdk_conf.has('RTE_HAS_LIBPCAP')
build = false
reason = 'missing dependency, "libpcap"'
endif
if is_windows
reason = 'not supported on Windows'
subdir_done()
ext_deps += pcap_dep
sources = files('main.c')
deps += ['ethdev', 'pdump', 'pcapng', 'bpf']