Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp453503lqi; Thu, 7 Mar 2024 02:08:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcqqv1rCKbhfBbrpKTPLJkCaqir0LCXjvr4b/3nP7c4QH8FUIqU5c0yv9MibL+YpzYvxrUkLzaxzamvnxyLenYpqyoCW++e+PaihNc4Q== X-Google-Smtp-Source: AGHT+IFne136nDIPuRudN9/dfpZlp4mzFZtl5qORsPzrhIoZnVN7zIkfmcQZJcTcLgwSeLlZUyZ5 X-Received: by 2002:a17:906:6bda:b0:a45:b1d8:200c with SMTP id t26-20020a1709066bda00b00a45b1d8200cmr4025058ejs.14.1709806120914; Thu, 07 Mar 2024 02:08:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709806120; cv=pass; d=google.com; s=arc-20160816; b=SUI0ZefHTAP8nh9DaapDfpjt0TjtcJQB038fxmapZWYizEkc9l3bpdWPlO6QIgpL8d Rlcg6XZHD1n0vWJtO8ZRnIiL2LksrjL7Uk5phkem3HZ8IeuBSKhm64clQsP9GFJ2RWJR gFpUVpq2p7ry9uty8N2HkZ4gUKpZR4gT2KnBATCeND7z9sQY8kFRSZyNCQd5SHXD6S+f sl03mg6LES8jygVjVDub7bUqOy1BSUnGz/mATjR2ZIAUTzafXCuwU97TARwmnGHPX88e vw5YK6dPbqDbV0d0+0VLp/+c3bHRmSFsdy2fHsNkMj4RTgjZ40uRh71+S/9u35AubVoi WTJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=JFLuqFDwfQNL2xOZkFhl8oaJxM0htnjHmGADG1CLZbw=; fh=F+JshSjS/xV8yYn6wiQxJC/5SgPHIc9rcDgwnTZ61VM=; b=GjYY7+HLzOCkFDxc2p3buQFfVRjIvaFRsYCahrZ6TwRkSGUc4konEe5s0F6MwCKVfc 1nLeTjjpJa9Wa/rW4tMerWMlKYcuvpPBzpMKd3hGK8IfOVnrUX+sHndPKGadKnYWDmtH 4vuKKWcJ2hZekBdGoUXgUi4IZEsm7gDYJwUIpasy5h6YBXdmYbGBUgZu+cNUx4FMACQj xohwkuOeOEeFDlZJQtHkI6JtV55nZZtHP01nj3NQkcgRp/YMoS7HfYam/FlTq+mU51Iq pBmr0leGRdfh8SBn9yNe0YBFNLfuBdT6FIkqFJfJS7alrAGfeZYpENMvBWAK3j8vlNrb GSag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="L/8K+AJM"; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-95296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u21-20020a170906c41500b00a4448317b4fsi6466980ejz.154.2024.03.07.02.08.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:08:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="L/8K+AJM"; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-95296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 82B0C1F217A1 for ; Thu, 7 Mar 2024 10:07:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB4B385277; Thu, 7 Mar 2024 10:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="L/8K+AJM" Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5CCF85269; Thu, 7 Mar 2024 10:03:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709805828; cv=none; b=VElBSgKzM0oAaEyOWBiiqBUOXCPCcAGp2ehsYhlXwgxFnBdfqppYb/2JpXycPPMTEKDBdo1dWwBkmmmchLHBVoaRkosnmsYaHLgsG/MvsiBhcgUBfz9qRqR3QImRcmy1SpMbyJztKsI0ZwqE0k3buRp2JdSpsDCBCQB8pXaSZDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709805828; c=relaxed/simple; bh=JFLuqFDwfQNL2xOZkFhl8oaJxM0htnjHmGADG1CLZbw=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=fQXmywMcFRncEEOiAhyvUw+TDMIZpbakIg5JF889gNGb2AkNpDnXDcNbIu/3rHqr3bQZ5hDaeFhatAaLHK00Z/mXTIYeG40vEUIqW9LNc6ZvKPiLbyXMbRc0Fi03bYvGOb5gArDBK0MC1Ba+bG5QfestC9Iqj9xRYK8D6mLEFpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=L/8K+AJM; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=JFLuqFDwfQNL2xOZkFhl8oaJxM0htnjHmGADG1CLZbw=; t=1709805825; x=1711015425; b=L/8K+AJM9cns0BwzhHNoIoTTUxitNtCAk8/yhWxG5RZ+81l 1HqslLbcXtH6LYosm3UpnkJXnaQ7zhYyc8wHp/Erl2+efSVIUofrGggZLXEGC5ewNtLUP74GfZ9WY P+poR6QHkdGK9SWWAJ6z/kSBvX8nO+V0ZH05AEGb+r2KpSyjltzbBEJjlXe1BCziUgljQs34xG3DQ SZeC6Lj7Il1X2ckQPSNHABnqqLWyyyWYUmw0vqdtx7de3yRnzICPCqvLWjDNQKgHYCDskgIDOssED Sn3CL6+1Q9Cv8blDLqNn7ghcfmkXgGcecESx6MgT70P7kcDuFlOpLs72KsAVESfg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1riAb7-00000005aOU-0Sdn; Thu, 07 Mar 2024 11:03:33 +0100 Message-ID: <463be980baf66b967031e3294c3b9745b07aa058.camel@sipsolutions.net> Subject: Re: pcap-dbus.o:undefined reference to `dbus_message_demarshal' From: Johannes Berg To: Anton Ivanov , Waqar Hameed , Ingo Molnar Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, kernel@axis.com, Richard Weinberger , linux-um@lists.infradead.org Date: Thu, 07 Mar 2024 11:03:32 +0100 In-Reply-To: <87cfca1e-3f53-4935-a274-0920bce86373@cambridgegreys.com> References: <202403052336.y6DkUd8a-lkp@intel.com> <87cfca1e-3f53-4935-a274-0920bce86373@cambridgegreys.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2024-03-07 at 09:54 +0000, Anton Ivanov wrote: >=20 > PCAP is not feasible to incorporate into the build system at present. > It has grown all kinds of warts over the years and brings a lot of depend= encies. > IMHO we should remove it from the tree. It has reached a point where it c= annot > be built on a modern system. I suppose it might be possible to call pcap-config? But agree that it doesn't seem really worth investing in. > The users who need the same functionality can produce a bpf filter using = tcpdump > and load it as "firmware" into the vector/raw driver. >=20 > I am working on a pure python bpf compiler which takes the same syntax as= PCAP. > It is showing signs of life and it can do some of the simpler use cases. = Once > that is ready, it should be possible to use that instead of pcap/tcpdump. How's that required to be formatted and loaded? tcpdump itself can also dump the filter in BPF format, with -d/-ddd (-dd is a C representation, so probably not useful). Perhaps we could even automatically call 'tcpdump' at runtime? johannes