summaryrefslogtreecommitdiff
path: root/arch/um/drivers/pcap_user.h
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2024-03-28 13:24:24 +0000
committerJohannes Berg <johannes.berg@intel.com>2024-07-03 12:19:25 +0200
commit12b8e7e69aa7a008323d7a903392686ad0903828 (patch)
treef6dae3650419bca7ecb0478d0795b2038a6c9cd7 /arch/um/drivers/pcap_user.h
parentb2f9b77c7f7f377534ba75508162390432a9945a (diff)
um: Remove obsolete pcap driver
Remove the pcap driver in UML. It is obsolete. It does not build on recent systems due to changes in libpcap and its dependencies. The vector driver's raw transport in UML provides identical functionality. Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Link: https://patch.msgid.link/20240328132424.376456-1-anton.ivanov@cambridgegreys.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/drivers/pcap_user.h')
-rw-r--r--arch/um/drivers/pcap_user.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/um/drivers/pcap_user.h b/arch/um/drivers/pcap_user.h
deleted file mode 100644
index 216246f5f09b..000000000000
--- a/arch/um/drivers/pcap_user.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
- */
-
-#include <net_user.h>
-
-struct pcap_data {
- char *host_if;
- int promisc;
- int optimize;
- char *filter;
- void *compiled;
- void *pcap;
- void *dev;
-};
-
-extern const struct net_user_info pcap_user_info;
-
-extern int pcap_user_read(int fd, void *buf, int len, struct pcap_data *pri);
-