From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: nfqueue ethernet packet frame capture Date: Wed, 17 Mar 2021 15:37:14 +0100 Message-ID: <20210317143713.GA3781@salvia> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ilker Cc: netfilter@vger.kernel.org On Wed, Mar 17, 2021 at 03:35:56PM +0300, ilker wrote: > Hi All, > > I am working on nfqueue to capture packets from networks. > I am not able to capture destination MAC addresses using NFQUEUE. > Is there a way to capture a full ethernet frame (especially > destination MAC address) using NFQUEUE library? nfq_get_packet_hw() might help?