git: vendor/LIBPCAP vendor/LIBPCAP: Import libpcap 1.10.1
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Sat Nov 19 13:16:41 PST 2022
commit ea16f64ecdcf9ac267f255cf596fc272bddea5ad
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sat Nov 19 14:11:00 2022 +0100
vendor/LIBPCAP: Import libpcap 1.10.1
Most significant changes:
- Treat ENXIO as meaning "the interface was removed"
- Add support for capturing on DPDK devices
- Fix some memory leaks, including in pcap_compile()
- Fix some thread safety issues
See full change log in: https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES
Summary of changes:
contrib/libpcap/CHANGES | 222 +++-
contrib/libpcap/README.DELETED | 84 --
contrib/libpcap/README.md | 67 +-
contrib/libpcap/VERSION | 2 +-
contrib/libpcap/atmuni31.h | 2 +-
contrib/libpcap/bpf_filter.c | 86 +-
contrib/libpcap/bpf_image.c | 156 ++-
contrib/libpcap/charconv.c | 216 ++++
contrib/libpcap/{pcap.h => charconv.h} | 21 +-
contrib/libpcap/diag-control.h | 138 ++-
contrib/libpcap/etherent.c | 20 +-
contrib/libpcap/ethertype.h | 38 +-
contrib/libpcap/extract.h | 300 +++++-
contrib/libpcap/fad-getad.c | 3 +-
contrib/libpcap/fmtutils.c | 284 +++++-
contrib/libpcap/fmtutils.h | 2 +
contrib/libpcap/ftmacros.h | 21 +-
contrib/libpcap/gencode.c | 827 ++++++++-------
contrib/libpcap/gencode.h | 68 +-
contrib/libpcap/grammar.y | 122 ++-
contrib/libpcap/nametoaddr.c | 68 +-
contrib/libpcap/optimize.c | 667 +++++++++---
contrib/libpcap/pcap-airpcap.c | 1051 +++++++++++++++++++
contrib/libpcap/{pcap-types.h => pcap-airpcap.h} | 34 +-
contrib/libpcap/pcap-bpf.c | 655 ++++++++----
contrib/libpcap/pcap-common.c | 134 ++-
contrib/libpcap/pcap-dpdk.c | 1070 ++++++++++++++++++++
contrib/libpcap/pcap-dpdk.h | 28 +
contrib/libpcap/pcap-filter.manmisc.in | 278 ++---
contrib/libpcap/pcap-haiku.cpp | 282 ++++++
contrib/libpcap/pcap-int.h | 159 ++-
contrib/libpcap/pcap-linktype.manmisc.in | 8 +-
contrib/libpcap/pcap-savefile.manfile.in | 8 +-
contrib/libpcap/pcap-tstamp.manmisc.in | 61 +-
contrib/libpcap/pcap-types.h | 1 -
contrib/libpcap/pcap.3pcap.in | 110 +-
contrib/libpcap/pcap.c | 711 +++++++++----
contrib/libpcap/pcap/bpf.h | 43 +-
contrib/libpcap/pcap/compiler-tests.h | 2 +-
contrib/libpcap/pcap/dlt.h | 114 ++-
contrib/libpcap/pcap/funcattrs.h | 78 +-
contrib/libpcap/pcap/namedb.h | 3 +-
contrib/libpcap/pcap/pcap-inttypes.h | 120 +--
contrib/libpcap/pcap/pcap.h | 311 +++++-
contrib/libpcap/pcap/socket.h | 9 -
contrib/libpcap/pcap_activate.3pcap | 35 +-
contrib/libpcap/pcap_breakloop.3pcap | 32 +-
contrib/libpcap/pcap_can_set_rfmon.3pcap | 28 +-
contrib/libpcap/pcap_close.3pcap | 4 +-
contrib/libpcap/pcap_compile.3pcap.in | 22 +-
contrib/libpcap/pcap_create.3pcap | 8 +-
contrib/libpcap/pcap_datalink.3pcap.in | 15 +-
contrib/libpcap/pcap_datalink_name_to_val.3pcap | 8 +-
contrib/libpcap/pcap_datalink_val_to_name.3pcap | 22 +-
contrib/libpcap/pcap_dump.3pcap | 12 +-
contrib/libpcap/pcap_dump_close.3pcap | 6 +-
contrib/libpcap/pcap_dump_file.3pcap | 6 +-
contrib/libpcap/pcap_dump_flush.3pcap | 13 +-
contrib/libpcap/pcap_dump_ftell.3pcap | 16 +-
contrib/libpcap/pcap_dump_open.3pcap.in | 49 +-
contrib/libpcap/pcap_file.3pcap | 20 +-
contrib/libpcap/pcap_fileno.3pcap | 20 +-
contrib/libpcap/pcap_findalldevs.3pcap | 26 +-
contrib/libpcap/pcap_freecode.3pcap | 8 +-
.../libpcap/pcap_get_required_select_timeout.3pcap | 163 ++-
contrib/libpcap/pcap_get_selectable_fd.3pcap | 77 +-
contrib/libpcap/pcap_get_tstamp_precision.3pcap.in | 12 +-
contrib/libpcap/pcap_geterr.3pcap | 6 +-
contrib/libpcap/pcap_init.3pcap | 99 ++
contrib/libpcap/pcap_inject.3pcap | 34 +-
contrib/libpcap/pcap_is_swapped.3pcap | 16 +-
contrib/libpcap/pcap_lib_version.3pcap | 4 +-
contrib/libpcap/pcap_list_datalinks.3pcap.in | 22 +-
contrib/libpcap/pcap_list_tstamp_types.3pcap.in | 19 +-
contrib/libpcap/pcap_lookupdev.3pcap | 33 +-
contrib/libpcap/pcap_lookupnet.3pcap | 10 +-
contrib/libpcap/pcap_loop.3pcap | 84 +-
contrib/libpcap/pcap_major_version.3pcap | 10 +-
contrib/libpcap/pcap_next_ex.3pcap | 54 +-
contrib/libpcap/pcap_offline_filter.3pcap | 8 +-
contrib/libpcap/pcap_open_dead.3pcap.in | 25 +-
contrib/libpcap/pcap_open_live.3pcap | 16 +-
contrib/libpcap/pcap_open_offline.3pcap.in | 29 +-
contrib/libpcap/pcap_set_buffer_size.3pcap | 12 +-
contrib/libpcap/pcap_set_datalink.3pcap | 15 +-
contrib/libpcap/pcap_set_immediate_mode.3pcap.in | 30 +-
contrib/libpcap/pcap_set_promisc.3pcap | 12 +-
contrib/libpcap/pcap_set_rfmon.3pcap | 14 +-
contrib/libpcap/pcap_set_snaplen.3pcap | 12 +-
contrib/libpcap/pcap_set_timeout.3pcap | 13 +-
contrib/libpcap/pcap_set_tstamp_precision.3pcap.in | 20 +-
contrib/libpcap/pcap_set_tstamp_type.3pcap.in | 20 +-
contrib/libpcap/pcap_setdirection.3pcap | 16 +-
contrib/libpcap/pcap_setfilter.3pcap | 16 +-
contrib/libpcap/pcap_setnonblock.3pcap | 48 +-
contrib/libpcap/pcap_snapshot.3pcap | 14 +-
contrib/libpcap/pcap_stats.3pcap | 16 +-
contrib/libpcap/pcap_statustostr.3pcap | 4 +-
contrib/libpcap/pcap_strerror.3pcap | 4 +-
contrib/libpcap/pcap_tstamp_type_name_to_val.3pcap | 7 +-
contrib/libpcap/pcap_tstamp_type_val_to_name.3pcap | 7 +-
contrib/libpcap/portability.h | 70 +-
contrib/libpcap/savefile.c | 199 +++-
contrib/libpcap/scanner.l | 244 +++--
contrib/libpcap/sf-pcap.c | 99 +-
contrib/libpcap/sf-pcapng.c | 104 +-
contrib/libpcap/sslutils.c | 239 +++++
contrib/libpcap/{pcap-types.h => sslutils.h} | 54 +-
108 files changed, 8550 insertions(+), 2494 deletions(-)
delete mode 100644 contrib/libpcap/README.DELETED
create mode 100644 contrib/libpcap/charconv.c
copy contrib/libpcap/{pcap.h => charconv.h} (83%)
create mode 100644 contrib/libpcap/pcap-airpcap.c
copy contrib/libpcap/{pcap-types.h => pcap-airpcap.h} (67%)
create mode 100644 contrib/libpcap/pcap-dpdk.c
create mode 100644 contrib/libpcap/pcap-dpdk.h
create mode 100644 contrib/libpcap/pcap-haiku.cpp
create mode 100644 contrib/libpcap/pcap_init.3pcap
create mode 100644 contrib/libpcap/sslutils.c
copy contrib/libpcap/{pcap-types.h => sslutils.h} (62%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea16f64ecdcf9ac267f255cf596fc272bddea5ad
--
DragonFly BSD source repository
More information about the Commits
mailing list