git: vendor/LIBPCAP: Import libpcap 1.9.1

Aaron LI aly at crater.dragonflybsd.org
Mon May 18 16:03:37 PDT 2020


commit 3a289941c307ff3d45415fd0d643fa7c8a113dff
Author: Aaron LI <aly at aaronly.me>
Date:   Mon May 18 22:42:47 2020 +0800

    vendor/LIBPCAP: Import libpcap 1.9.1
    
    Original source can be downloaded from:
    https://www.tcpdump.org/release/
    
    file = libpcap-1.9.1.tar.gz
    date = 2019-10-01
    size = 861228
    sha1 = 04d6e619defad5bb17af15f6d2304e79b649786c
    
    A list of files and directories removed is in README.DELETED.

Summary of changes:
 contrib/libpcap/CHANGES                            |  151 ++
 contrib/libpcap/README.DELETED                     |   75 +-
 contrib/libpcap/{README => README.md}              |   65 +-
 contrib/libpcap/VERSION                            |    2 +-
 contrib/libpcap/bpf_dump.c                         |    7 +-
 contrib/libpcap/{bpf/net => }/bpf_filter.c         |  312 +--
 contrib/libpcap/bpf_image.c                        |  158 +-
 contrib/libpcap/diag-control.h                     |  219 ++
 contrib/libpcap/etherent.c                         |   79 +-
 contrib/libpcap/extract.h                          |   16 +-
 contrib/libpcap/fad-getad.c                        |   40 +-
 contrib/libpcap/fad-helpers.c                      |  884 -------
 contrib/libpcap/fmtutils.c                         |  214 ++
 contrib/libpcap/{nametoaddr.h => fmtutils.h}       |   23 +-
 contrib/libpcap/ftmacros.h                         |  109 +
 contrib/libpcap/gencode.c                          | 2630 +++++++++++++------
 contrib/libpcap/gencode.h                          |   57 +-
 contrib/libpcap/grammar.y                          |  363 +--
 contrib/libpcap/inet.c                             |  403 ---
 contrib/libpcap/nametoaddr.c                       |  446 +++-
 contrib/libpcap/optimize.c                         |  562 +++-
 contrib/libpcap/{sf-pcap-ng.h => optimize.h}       |   18 +-
 contrib/libpcap/pcap-bpf.c                         |  704 +++--
 contrib/libpcap/pcap-common.c                      |  205 +-
 contrib/libpcap/pcap-common.h                      |   32 +-
 contrib/libpcap/pcap-filter.manmisc.in             |   68 +-
 contrib/libpcap/pcap-int.h                         |  192 +-
 contrib/libpcap/pcap-linktype.manmisc.in           |    4 +-
 contrib/libpcap/pcap-savefile.manfile.in           |    2 +-
 contrib/libpcap/pcap-tstamp.manmisc.in             |   17 +-
 contrib/libpcap/{pcap/bluetooth.h => pcap-types.h} |   45 +-
 contrib/libpcap/pcap.3pcap.in                      |  133 +-
 contrib/libpcap/pcap.c                             | 2776 ++++++++++++++++----
 contrib/libpcap/pcap/bluetooth.h                   |    9 +-
 contrib/libpcap/pcap/bpf.h                         |   25 +-
 contrib/libpcap/pcap/can_socketcan.h               |   12 +-
 contrib/libpcap/pcap/compiler-tests.h              |  163 ++
 contrib/libpcap/pcap/dlt.h                         |  166 +-
 contrib/libpcap/pcap/export-defs.h                 |  108 -
 contrib/libpcap/pcap/funcattrs.h                   |  263 ++
 contrib/libpcap/pcap/namedb.h                      |    2 -
 contrib/libpcap/pcap/nflog.h                       |   30 +-
 contrib/libpcap/pcap/pcap-inttypes.h               |  128 +
 contrib/libpcap/pcap/pcap.h                        |  474 +++-
 contrib/libpcap/pcap/sll.h                         |   46 +-
 contrib/libpcap/{pcap.h => pcap/socket.h}          |   66 +-
 contrib/libpcap/pcap/usb.h                         |   54 +-
 contrib/libpcap/pcap/vlan.h                        |    6 +-
 contrib/libpcap/pcap_activate.3pcap                |   10 +-
 contrib/libpcap/pcap_breakloop.3pcap               |   39 +-
 contrib/libpcap/pcap_can_set_rfmon.3pcap           |    8 +-
 contrib/libpcap/pcap_compile.3pcap.in              |   33 +-
 contrib/libpcap/pcap_create.3pcap                  |    4 +-
 contrib/libpcap/pcap_datalink.3pcap.in             |    6 +-
 contrib/libpcap/pcap_datalink_name_to_val.3pcap    |    6 +-
 contrib/libpcap/pcap_datalink_val_to_name.3pcap    |   16 +-
 contrib/libpcap/pcap_dump.3pcap                    |    9 +-
 contrib/libpcap/pcap_dump_file.3pcap               |    2 +-
 contrib/libpcap/pcap_dump_flush.3pcap              |   10 +-
 contrib/libpcap/pcap_dump_ftell.3pcap              |   28 +-
 contrib/libpcap/pcap_dump_open.3pcap.in            |   37 +-
 contrib/libpcap/pcap_file.3pcap                    |   16 +-
 contrib/libpcap/pcap_fileno.3pcap                  |   21 +-
 contrib/libpcap/pcap_findalldevs.3pcap             |   61 +-
 contrib/libpcap/pcap_freecode.3pcap                |    6 +-
 .../libpcap/pcap_get_required_select_timeout.3pcap |   98 +
 contrib/libpcap/pcap_get_selectable_fd.3pcap       |  116 +-
 contrib/libpcap/pcap_get_tstamp_precision.3pcap.in |    4 +
 contrib/libpcap/pcap_geterr.3pcap                  |    2 +-
 contrib/libpcap/pcap_inject.3pcap                  |   22 +-
 contrib/libpcap/pcap_is_swapped.3pcap              |    6 +-
 contrib/libpcap/pcap_list_datalinks.3pcap.in       |   14 +-
 contrib/libpcap/pcap_list_tstamp_types.3pcap.in    |   23 +-
 contrib/libpcap/pcap_lookupdev.3pcap               |   35 +-
 contrib/libpcap/pcap_lookupnet.3pcap               |    9 +-
 contrib/libpcap/pcap_loop.3pcap                    |   53 +-
 contrib/libpcap/pcap_major_version.3pcap           |    4 +-
 contrib/libpcap/pcap_next_ex.3pcap                 |   49 +-
 contrib/libpcap/pcap_offline_filter.3pcap          |    4 +-
 contrib/libpcap/pcap_open_dead.3pcap.in            |   11 +-
 contrib/libpcap/pcap_open_live.3pcap               |    9 +-
 contrib/libpcap/pcap_open_offline.3pcap.in         |   13 +-
 contrib/libpcap/pcap_set_datalink.3pcap            |   16 +-
 ...mode.3pcap => pcap_set_immediate_mode.3pcap.in} |   52 +-
 contrib/libpcap/pcap_set_timeout.3pcap             |   21 +-
 contrib/libpcap/pcap_set_tstamp_precision.3pcap.in |   13 +-
 contrib/libpcap/pcap_set_tstamp_type.3pcap.in      |   23 +-
 contrib/libpcap/pcap_setdirection.3pcap            |   15 +-
 contrib/libpcap/pcap_setfilter.3pcap               |   17 +-
 contrib/libpcap/pcap_setnonblock.3pcap             |   22 +-
 contrib/libpcap/pcap_snapshot.3pcap                |    8 +-
 contrib/libpcap/pcap_stats.3pcap                   |   17 +-
 contrib/libpcap/pcap_strerror.3pcap                |    2 +-
 contrib/libpcap/pcap_tstamp_type_name_to_val.3pcap |    5 +-
 contrib/libpcap/pcap_tstamp_type_val_to_name.3pcap |    5 +-
 contrib/libpcap/portability.h                      |  163 +-
 contrib/libpcap/savefile.c                         |  118 +-
 contrib/libpcap/scanner.l                          |  130 +-
 contrib/libpcap/sf-pcap.c                          |  445 +++-
 contrib/libpcap/sf-pcap.h                          |    2 +-
 contrib/libpcap/{sf-pcap-ng.c => sf-pcapng.c}      |  308 ++-
 contrib/libpcap/{sf-pcap-ng.h => sf-pcapng.h}      |   10 +-
 contrib/libpcap/sockutils.c                        | 1230 ---------
 contrib/libpcap/sockutils.h                        |  241 --
 contrib/libpcap/{pcap.h => varattrs.h}             |   32 +-
 105 files changed, 9729 insertions(+), 6513 deletions(-)
 rename contrib/libpcap/{README => README.md} (61%)
 rename contrib/libpcap/{bpf/net => }/bpf_filter.c (67%)
 create mode 100644 contrib/libpcap/diag-control.h
 delete mode 100644 contrib/libpcap/fad-helpers.c
 create mode 100644 contrib/libpcap/fmtutils.c
 copy contrib/libpcap/{nametoaddr.h => fmtutils.h} (83%)
 create mode 100644 contrib/libpcap/ftmacros.h
 delete mode 100644 contrib/libpcap/inet.c
 copy contrib/libpcap/{sf-pcap-ng.h => optimize.h} (79%)
 copy contrib/libpcap/{pcap/bluetooth.h => pcap-types.h} (62%)
 create mode 100644 contrib/libpcap/pcap/compiler-tests.h
 delete mode 100644 contrib/libpcap/pcap/export-defs.h
 create mode 100644 contrib/libpcap/pcap/funcattrs.h
 create mode 100644 contrib/libpcap/pcap/pcap-inttypes.h
 copy contrib/libpcap/{pcap.h => pcap/socket.h} (52%)
 create mode 100644 contrib/libpcap/pcap_get_required_select_timeout.3pcap
 rename contrib/libpcap/{pcap_set_immediate_mode.3pcap => pcap_set_immediate_mode.3pcap.in} (54%)
 rename contrib/libpcap/{sf-pcap-ng.c => sf-pcapng.c} (82%)
 rename contrib/libpcap/{sf-pcap-ng.h => sf-pcapng.h} (86%)
 delete mode 100644 contrib/libpcap/sockutils.c
 delete mode 100644 contrib/libpcap/sockutils.h
 copy contrib/libpcap/{pcap.h => varattrs.h} (76%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a289941c307ff3d45415fd0d643fa7c8a113dff


-- 
DragonFly BSD source repository



More information about the Commits mailing list