Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6018462rwd; Mon, 19 Jun 2023 00:42:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5S2cLATYhOAqCLsg9bR5RNSU0Nc3GwhyqLotk+EuXpGKWGUyybG9N1D8XL55sy2kGMCNiU X-Received: by 2002:a17:902:da89:b0:1b5:1b0f:521b with SMTP id j9-20020a170902da8900b001b51b0f521bmr14011337plx.6.1687160540760; Mon, 19 Jun 2023 00:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687160540; cv=none; d=google.com; s=arc-20160816; b=eQoBcCX1h/JaedgbvS4sf+A+IpT8pwZG49Dr7bL2VboiO5JmzLs05ElMXqmbTptADI 8knhc/gDgWq1En8mp0O5Vhlkpdd+WwIClXrCmYxS8iR3DYmPbVhhaqpTjFROTiB6d5he v4AZ+JDXMktFzTqsQiJCtXvwC9Q5VZjIVGMFdar/+nMnVSlaRoJnYMtthL3R2EqohoCa 2FTlVmCFPXkc2TBXVzRMewnljvMCmNM/f9MGfLHeZ/jKOKfkTshD9BqjZNHp/saLifEI x80Ked6037Ftz5KrvCiQyKDkuO3NW/7tta3nQb+yQBWRnXTv1odA/6t9L0Q9aBhOQnJj MH6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=Z/8NNQ1l7mmgG1ByordaFa6JHzr5TWfSd72pJqNRQXQ=; b=JbdHm/crg32NhTNncIMjceZWKCYTVuZkq0+TjFyPA8BQdETWFT3HPeXy6ckqoznJbg UDPXv3+qAq0d2AH14G6gwt3q6MBEWh9+D2As+5tr++qUTCHLHfTSxM2NzMaOc1MdW3MX pXedYKi0p4QCl4ANvxFwoNRds7QCpRq2LRPHRQ/l5Dsl6ieE5sJrpsUzoeJo/PbOQ+ah fmhcLsNvFvw18/DgQeZP7GQaBuehLu0zpWlAKC1imvF5wbjMQv0o/nVqxkDoU5xKlk8L LRvp0NUQjbDaOuV4u4cyK3tEuqMcae1mcOLLLUFXEbZpoJeF3wgHC6qGOKMLdFJbOIL3 tJJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=dj7GFA5g; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=HiSHzB45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a17090aac0200b0025bbec1b861si6687975pjq.99.2023.06.19.00.42.06; Mon, 19 Jun 2023 00:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=dj7GFA5g; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=HiSHzB45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbjFSGE1 (ORCPT + 99 others); Mon, 19 Jun 2023 02:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjFSGE0 (ORCPT ); Mon, 19 Jun 2023 02:04:26 -0400 Received: from domac.alu.hr (domac.alu.unizg.hr [IPv6:2001:b68:2:2800::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D56583; Sun, 18 Jun 2023 23:04:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id 0C6C86019E; Mon, 19 Jun 2023 08:04:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1687154661; bh=lcUEwvKHK/l3w8XrZyVJ+ORIPhjtF1cO4oSiOEidZBU=; h=Date:To:Cc:From:Subject:From; b=dj7GFA5gwtVHTf9DdsJRmF7ne5pi6S459/2Rj0Dk/2lec0vI7dpXlFPagjIcEGmVA mY7dw2KCVruzLZZ6z3BY0V0mQgBVuCX/DhCuxdsSMR5WD2N7E9H9znrnVvEbb+RNu6 smJ6i+82Q7QQBUfuPzIdFua8mvg9ojMQLrVVneVt7LPw7tGSejB1CzllWQNMydtdWq NaZ8yFaE4IxgphezV6rsy+42JhG9hAiLzyUA23jV9vsQC9yYjmNbpT0hcatNiuViBO serQtx/3bB4D0s+BRxNkeZA7avcdAZEA4GcuLrwZgITterjwkt+DfIW8o/1hRT+plM hRt0pE7l3KZzQ== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2OAE_F3fERkR; Mon, 19 Jun 2023 08:04:18 +0200 (CEST) Received: from [10.0.2.76] (grf-nat.grf.hr [161.53.83.23]) by domac.alu.hr (Postfix) with ESMTPSA id E453F6019C; Mon, 19 Jun 2023 08:04:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1687154658; bh=lcUEwvKHK/l3w8XrZyVJ+ORIPhjtF1cO4oSiOEidZBU=; h=Date:To:Cc:From:Subject:From; b=HiSHzB457ln5+e3T0TK7htfDAn2KaBZKGDzSBlhRqeVRLvFCZaZQpfKa6eCmwk1OQ wmJn5eUERr7qDLU5SIl6T64/+LwpTlDpRUbCN+rG0Q3d7Ujd6/NjmD+THm5EkqHlRe ObFirPIGt2Xx4OVIfZArF9/MOxCq8GdHQXwSMC4KlMu5r9Qjk+aXSjGWFG+onbOoni 5kYQVtvr++vbene9ccsI7ivX/91S7jygGY9bfFEMO61jaHtr41Ne7xHEjOrPyBjTPA k4WDnTnyKVUN/0r3ezQZZgYwkgSiDCkAQ9+EqnOuc0WV2Hqn7bVYyAXrm0xBY53W3y aw5DHWcNAYdGQ== Message-ID: <643f6e7c-60f3-4667-ff5d-ee62985a99e7@alu.unizg.hr> Date: Mon, 19 Jun 2023 08:04:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US, hr To: LKML Cc: "netdev@vger.kernel.org" From: Mirsad Goran Todorovac Subject: Pinging the Ethernet address Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I see some applications where it would be good to bypass the IP stack and ping directly HW MAC address (i.e. in Wi-Fi scanner where IP address might not be available). I understood that RARP support was removed from Linux kernel as early as in 2.x. What would be the recommended way to ping a HW MAC address? Thanks, Mirsad -- Mirsad Todorovac System engineer Faculty of Graphic Arts | Academy of Fine Arts University of Zagreb Republic of Croatia, the European Union Sistem inženjer Grafički fakultet | Akademija likovnih umjetnosti Sveučilište u Zagrebu