Skip to content

Commit 1b50e0d

Browse files
committed
subprojects: add libpcap with plugin loader support
Add libpcap as a meson wrap subproject with three patches on top of upstream commit bac2884b. These patches implement the plugin loader proposed in the-tcpdump-group/libpcap#1659: - runtime plugin loader for external capture modules - timestamp type accessors for adapter code - complete accessor API for tcpdump feature parity The meson.build exposes a plugindir variable via declare_dependency() so consumers can install plugins in the right location. Signed-off-by: Robin Jarry <rjarry@redhat.com>
1 parent e81e331 commit 1b50e0d

7 files changed

Lines changed: 2319 additions & 0 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
/subprojects/dpdk-*
2222
/subprojects/libecoli-*
2323
/subprojects/frr-*
24+
/subprojects/libpcap
2425
/subprojects/packagecache

subprojects/libpcap.wrap

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[wrap-git]
2+
url = https://github.com/the-tcpdump-group/libpcap
3+
revision = bac2884bfabe20f9ff0f711eb9eb7589569e6a01
4+
depth = 1
5+
patch_directory = libpcap
6+
diff_files =
7+
libpcap/0001-plugin-add-runtime-plugin-loader-for-external-captur.patch,
8+
libpcap/0002-plugin-expose-timestamp-type-accessors-for-adapter-c.patch,
9+
libpcap/0003-plugin-complete-accessor-API-for-tcpdump-feature-par.patch
10+
11+
[provide]
12+
dependency_names = libpcap

0 commit comments

Comments
 (0)